In RGB color space, #512787 hex color has a red value of 81, a green value of 39 and a blue value of 135.
In CMYK color space (used in color printing), #512787 hex color is composed of 40% cyan, 71.11% magenta, 0% yellow and 47.06% black.
#512787 color has a hue of 266.3 degrees, a saturation of 55.17% and a lightness of 34.1%.
#512787 hex color contains mainly BLUE.
The closest web safe color of #512787 is #663399
#512787 hex color has a decimal value of 5318535.
HEX | 512787 | #512787 |
---|---|---|
RGB | 81, 39, 135 | rgb(81, 39, 135) |
RGB Percent | 31.76, 15.29, 52.94 | rgb(31.76, 15.29, 52.94) |
CMYK | 40, 71, 0, 47 | |
HSL | 266.3°, 55.17, 34.1 | hsl(266.3, 55.17%, 34.1%) |
HSV | 266.3°, 71.1, 52.9 |
XYZ | 8.492, 4.95, 23.429 |
---|---|
Hunter Lab | 22.249, 29.196, -46.862 |
CIE-LAB | 26.592, 39.94, -46.413 |
CIE-LCH | 26.592, 61.232, 310.713 |
CIE-LUV | 40, 71.11, 0, 47.06 |
Web Safe | 663399 |
RGB percent of color #512787
CMYK percent of color #512787
Text with hexadecimal color #512787
This text has a font color of #512787
<p style="color:#512787">Text here</p>
#512787 Background Color
This box has a background color of #512787
<div style="background-color:#512787">Text here</div>
#512787 Border Color
This box has a border color of #512787
<div style="border: 4px solid #512787">Text here</div>
CSS codes
<p style="color:#512787">Text here</p>
<div style="background-color:#512787">Text here</div>
<div style="border: 4px solid #512787">Text here</div>
#512787 Color on white background
This is how a font and box color of #512787 will look
on a white background.
#512787 Color on black background
This is how a font and box color of #512787 hex color will look
on a black background.