In RGB color space, #512781 hex color has a red value of 81, a green value of 39 and a blue value of 129.
In CMYK color space (used in color printing), #512781 hex color is composed of 37.21% cyan, 69.77% magenta, 0% yellow and 49.41% black.
#512781 color has a hue of 268 degrees, a saturation of 53.57% and a lightness of 32.9%.
#512781 hex color contains mainly BLUE.
The closest web safe color of #512781 is #663399
#512781 hex color has a decimal value of 5318529.
HEX | 512781 | #512781 |
---|---|---|
RGB | 81, 39, 129 | rgb(81, 39, 129) |
RGB Percent | 31.76, 15.29, 50.59 | rgb(31.76, 15.29, 50.59) |
CMYK | 37, 70, 0, 49 | |
HSL | 268°, 53.57, 32.9 | hsl(268, 53.57%, 32.9%) |
HSV | 268°, 69.8, 50.6 |
XYZ | 8.081, 4.785, 21.267 |
---|---|
Hunter Lab | 21.875, 27.661, -42.331 |
CIE-LAB | 26.113, 38.337, -43.432 |
CIE-LCH | 26.113, 57.932, 311.435 |
CIE-LUV | 37.21, 69.77, 0, 49.41 |
Web Safe | 663399 |
RGB percent of color #512781
CMYK percent of color #512781
Text with hexadecimal color #512781
This text has a font color of #512781
<p style="color:#512781">Text here</p>
#512781 Background Color
This box has a background color of #512781
<div style="background-color:#512781">Text here</div>
#512781 Border Color
This box has a border color of #512781
<div style="border: 4px solid #512781">Text here</div>
CSS codes
<p style="color:#512781">Text here</p>
<div style="background-color:#512781">Text here</div>
<div style="border: 4px solid #512781">Text here</div>
#512781 Color on white background
This is how a font and box color of #512781 will look
on a white background.
#512781 Color on black background
This is how a font and box color of #512781 hex color will look
on a black background.