In RGB color space, #512874 hex color has a red value of 81, a green value of 40 and a blue value of 116.
In CMYK color space (used in color printing), #512874 hex color is composed of 30.17% cyan, 65.52% magenta, 0% yellow and 54.51% black.
#512874 color has a hue of 272.4 degrees, a saturation of 48.72% and a lightness of 30.6%.
#512874 hex color contains mainly BLUE.
The closest web safe color of #512874 is #663366
#512874 hex color has a decimal value of 5318772.
HEX | 512874 | #512874 |
---|---|---|
RGB | 81, 40, 116 | rgb(81, 40, 116) |
RGB Percent | 31.76, 15.69, 45.49 | rgb(31.76, 15.69, 45.49) |
CMYK | 30, 66, 0, 55 | |
HSL | 272.4°, 48.72, 30.6 | hsl(272.4, 48.72%, 30.6%) |
HSV | 272.4°, 65.5, 45.5 |
XYZ | 7.305, 4.528, 17.012 |
---|---|
Hunter Lab | 21.279, 24.04, -32.505 |
CIE-LAB | 25.345, 34.371, -36.435 |
CIE-LCH | 25.345, 50.089, 313.33 |
CIE-LUV | 30.17, 65.52, 0, 54.51 |
Web Safe | 663366 |
RGB percent of color #512874
CMYK percent of color #512874
Text with hexadecimal color #512874
This text has a font color of #512874
<p style="color:#512874">Text here</p>
#512874 Background Color
This box has a background color of #512874
<div style="background-color:#512874">Text here</div>
#512874 Border Color
This box has a border color of #512874
<div style="border: 4px solid #512874">Text here</div>
CSS codes
<p style="color:#512874">Text here</p>
<div style="background-color:#512874">Text here</div>
<div style="border: 4px solid #512874">Text here</div>
#512874 Color on white background
This is how a font and box color of #512874 will look
on a white background.
#512874 Color on black background
This is how a font and box color of #512874 hex color will look
on a black background.