In RGB color space, #512987 hex color has a red value of 81, a green value of 41 and a blue value of 135.
In CMYK color space (used in color printing), #512987 hex color is composed of 40% cyan, 69.63% magenta, 0% yellow and 47.06% black.
#512987 color has a hue of 265.5 degrees, a saturation of 53.41% and a lightness of 34.5%.
#512987 hex color contains mainly BLUE.
The closest web safe color of #512987 is #663399
#512987 hex color has a decimal value of 5319047.
HEX | 512987 | #512987 |
---|---|---|
RGB | 81, 41, 135 | rgb(81, 41, 135) |
RGB Percent | 31.76, 16.08, 52.94 | rgb(31.76, 16.08, 52.94) |
CMYK | 40, 70, 0, 47 | |
HSL | 265.5°, 53.41, 34.5 | hsl(265.5, 53.41%, 34.5%) |
HSV | 265.5°, 69.6, 52.9 |
XYZ | 8.559, 5.084, 23.452 |
---|---|
Hunter Lab | 22.548, 28.299, -45.884 |
CIE-LAB | 26.973, 38.884, -45.795 |
CIE-LCH | 26.973, 60.076, 310.334 |
CIE-LUV | 40, 69.63, 0, 47.06 |
Web Safe | 663399 |
RGB percent of color #512987
CMYK percent of color #512987
Text with hexadecimal color #512987
This text has a font color of #512987
<p style="color:#512987">Text here</p>
#512987 Background Color
This box has a background color of #512987
<div style="background-color:#512987">Text here</div>
#512987 Border Color
This box has a border color of #512987
<div style="border: 4px solid #512987">Text here</div>
CSS codes
<p style="color:#512987">Text here</p>
<div style="background-color:#512987">Text here</div>
<div style="border: 4px solid #512987">Text here</div>
#512987 Color on white background
This is how a font and box color of #512987 will look
on a white background.
#512987 Color on black background
This is how a font and box color of #512987 hex color will look
on a black background.