In RGB color space, #512872 hex color has a red value of 81, a green value of 40 and a blue value of 114.
In CMYK color space (used in color printing), #512872 hex color is composed of 28.95% cyan, 64.91% magenta, 0% yellow and 55.29% black.
#512872 color has a hue of 273.2 degrees, a saturation of 48.05% and a lightness of 30.2%.
#512872 hex color contains mainly BLUE.
The closest web safe color of #512872 is #663366
#512872 hex color has a decimal value of 5318770.
HEX | 512872 | #512872 |
---|---|---|
RGB | 81, 40, 114 | rgb(81, 40, 114) |
RGB Percent | 31.76, 15.69, 44.71 | rgb(31.76, 15.69, 44.71) |
CMYK | 29, 65, 0, 55 | |
HSL | 273.2°, 48.05, 30.2 | hsl(273.2, 48.05%, 30.2%) |
HSV | 273.2°, 64.9, 44.7 |
XYZ | 7.189, 4.482, 16.406 |
---|---|
Hunter Lab | 21.171, 23.565, -31.127 |
CIE-LAB | 25.205, 33.846, -35.382 |
CIE-LCH | 25.205, 48.964, 313.729 |
CIE-LUV | 28.95, 64.91, 0, 55.29 |
Web Safe | 663366 |
RGB percent of color #512872
CMYK percent of color #512872
Text with hexadecimal color #512872
This text has a font color of #512872
<p style="color:#512872">Text here</p>
#512872 Background Color
This box has a background color of #512872
<div style="background-color:#512872">Text here</div>
#512872 Border Color
This box has a border color of #512872
<div style="border: 4px solid #512872">Text here</div>
CSS codes
<p style="color:#512872">Text here</p>
<div style="background-color:#512872">Text here</div>
<div style="border: 4px solid #512872">Text here</div>
#512872 Color on white background
This is how a font and box color of #512872 will look
on a white background.
#512872 Color on black background
This is how a font and box color of #512872 hex color will look
on a black background.