In RGB color space, #5211a6 hex color has a red value of 82, a green value of 17 and a blue value of 166.
In CMYK color space (used in color printing), #5211a6 hex color is composed of 50.6% cyan, 89.76% magenta, 0% yellow and 34.9% black.
#5211a6 color has a hue of 266.2 degrees, a saturation of 81.42% and a lightness of 35.9%.
#5211a6 hex color contains mainly BLUE.
The closest web safe color of #5211a6 is #660099
#5211a6 hex color has a decimal value of 5378470.
HEX | 5211a6 | #5211a6 |
---|---|---|
RGB | 82, 17, 166 | rgb(82, 17, 166) |
RGB Percent | 32.16, 6.67, 65.1 | rgb(32.16, 6.67, 65.1) |
CMYK | 51, 90, 0, 35 | |
HSL | 266.2°, 81.42, 35.9 | hsl(266.2, 81.42%, 35.9%) |
HSV | 266.2°, 89.8, 65.1 |
XYZ | 10.563, 4.948, 36.475 |
---|---|
Hunter Lab | 22.244, 45.837, -81.651 |
CIE-LAB | 26.586, 56.831, -65.478 |
CIE-LCH | 26.586, 86.701, 310.956 |
CIE-LUV | 50.6, 89.76, 0, 34.9 |
Web Safe | 660099 |
RGB percent of color #5211a6
CMYK percent of color #5211a6
Text with hexadecimal color #5211a6
This text has a font color of #5211a6
<p style="color:#5211a6">Text here</p>
#5211a6 Background Color
This box has a background color of #5211a6
<div style="background-color:#5211a6">Text here</div>
#5211a6 Border Color
This box has a border color of #5211a6
<div style="border: 4px solid #5211a6">Text here</div>
CSS codes
<p style="color:#5211a6">Text here</p>
<div style="background-color:#5211a6">Text here</div>
<div style="border: 4px solid #5211a6">Text here</div>
#5211a6 Color on white background
This is how a font and box color of #5211a6 will look
on a white background.
#5211a6 Color on black background
This is how a font and box color of #5211a6 hex color will look
on a black background.