In RGB color space, #512866 hex color has a red value of 81, a green value of 40 and a blue value of 102.
In CMYK color space (used in color printing), #512866 hex color is composed of 20.59% cyan, 60.78% magenta, 0% yellow and 60% black.
#512866 color has a hue of 279.7 degrees, a saturation of 43.66% and a lightness of 27.8%.
#512866 hex color contains mainly BLUE.
The closest web safe color of #512866 is #663366
#512866 hex color has a decimal value of 5318758.
HEX | 512866 | #512866 |
---|---|---|
RGB | 81, 40, 102 | rgb(81, 40, 102) |
RGB Percent | 31.76, 15.69, 40 | rgb(31.76, 15.69, 40) |
CMYK | 21, 61, 0, 60 | |
HSL | 279.7°, 43.66, 27.8 | hsl(279.7, 43.66%, 27.8%) |
HSV | 279.7°, 60.8, 40 |
XYZ | 6.55, 4.226, 13.041 |
---|---|
Hunter Lab | 20.557, 20.899, -23.222 |
CIE-LAB | 24.405, 30.833, -28.922 |
CIE-LCH | 24.405, 42.275, 316.832 |
CIE-LUV | 20.59, 60.78, 0, 60 |
Web Safe | 663366 |
RGB percent of color #512866
CMYK percent of color #512866
Text with hexadecimal color #512866
This text has a font color of #512866
<p style="color:#512866">Text here</p>
#512866 Background Color
This box has a background color of #512866
<div style="background-color:#512866">Text here</div>
#512866 Border Color
This box has a border color of #512866
<div style="border: 4px solid #512866">Text here</div>
CSS codes
<p style="color:#512866">Text here</p>
<div style="background-color:#512866">Text here</div>
<div style="border: 4px solid #512866">Text here</div>
#512866 Color on white background
This is how a font and box color of #512866 will look
on a white background.
#512866 Color on black background
This is how a font and box color of #512866 hex color will look
on a black background.