In RGB color space, #512868 hex color has a red value of 81, a green value of 40 and a blue value of 104.
In CMYK color space (used in color printing), #512868 hex color is composed of 22.12% cyan, 61.54% magenta, 0% yellow and 59.22% black.
#512868 color has a hue of 278.4 degrees, a saturation of 44.44% and a lightness of 28.2%.
#512868 hex color contains mainly BLUE.
The closest web safe color of #512868 is #663366
#512868 hex color has a decimal value of 5318760.
HEX | 512868 | #512868 |
---|---|---|
RGB | 81, 40, 104 | rgb(81, 40, 104) |
RGB Percent | 31.76, 15.69, 40.78 | rgb(31.76, 15.69, 40.78) |
CMYK | 22, 62, 0, 59 | |
HSL | 278.4°, 44.44, 28.2 | hsl(278.4, 44.44%, 28.2%) |
HSV | 278.4°, 61.5, 40.8 |
XYZ | 6.651, 4.266, 13.57 |
---|---|
Hunter Lab | 20.654, 21.335, -24.496 |
CIE-LAB | 24.532, 31.334, -30.018 |
CIE-LCH | 24.532, 43.392, 316.229 |
CIE-LUV | 22.12, 61.54, 0, 59.22 |
Web Safe | 663366 |
RGB percent of color #512868
CMYK percent of color #512868
Text with hexadecimal color #512868
This text has a font color of #512868
<p style="color:#512868">Text here</p>
#512868 Background Color
This box has a background color of #512868
<div style="background-color:#512868">Text here</div>
#512868 Border Color
This box has a border color of #512868
<div style="border: 4px solid #512868">Text here</div>
CSS codes
<p style="color:#512868">Text here</p>
<div style="background-color:#512868">Text here</div>
<div style="border: 4px solid #512868">Text here</div>
#512868 Color on white background
This is how a font and box color of #512868 will look
on a white background.
#512868 Color on black background
This is how a font and box color of #512868 hex color will look
on a black background.