In RGB color space, #512972 hex color has a red value of 81, a green value of 41 and a blue value of 114.
In CMYK color space (used in color printing), #512972 hex color is composed of 28.95% cyan, 64.04% magenta, 0% yellow and 55.29% black.
#512972 color has a hue of 272.9 degrees, a saturation of 47.1% and a lightness of 30.4%.
#512972 hex color contains mainly BLUE.
The closest web safe color of #512972 is #663366
#512972 hex color has a decimal value of 5319026.
HEX | 512972 | #512972 |
---|---|---|
RGB | 81, 41, 114 | rgb(81, 41, 114) |
RGB Percent | 31.76, 16.08, 44.71 | rgb(31.76, 16.08, 44.71) |
CMYK | 29, 64, 0, 55 | |
HSL | 272.9°, 47.1, 30.4 | hsl(272.9, 47.1%, 30.4%) |
HSV | 272.9°, 64, 44.7 |
XYZ | 7.224, 4.55, 16.417 |
---|---|
Hunter Lab | 21.331, 23.123, -30.7 |
CIE-LAB | 25.412, 33.294, -35.049 |
CIE-LCH | 25.412, 48.342, 313.529 |
CIE-LUV | 28.95, 64.04, 0, 55.29 |
Web Safe | 663366 |
RGB percent of color #512972
CMYK percent of color #512972
Text with hexadecimal color #512972
This text has a font color of #512972
<p style="color:#512972">Text here</p>
#512972 Background Color
This box has a background color of #512972
<div style="background-color:#512972">Text here</div>
#512972 Border Color
This box has a border color of #512972
<div style="border: 4px solid #512972">Text here</div>
CSS codes
<p style="color:#512972">Text here</p>
<div style="background-color:#512972">Text here</div>
<div style="border: 4px solid #512972">Text here</div>
#512972 Color on white background
This is how a font and box color of #512972 will look
on a white background.
#512972 Color on black background
This is how a font and box color of #512972 hex color will look
on a black background.