In RGB color space, #512780 hex color has a red value of 81, a green value of 39 and a blue value of 128.
In CMYK color space (used in color printing), #512780 hex color is composed of 36.72% cyan, 69.53% magenta, 0% yellow and 49.8% black.
#512780 color has a hue of 268.3 degrees, a saturation of 53.29% and a lightness of 32.7%.
#512780 hex color contains mainly BLUE.
The closest web safe color of #512780 is #663399
#512780 hex color has a decimal value of 5318528.
HEX | 512780 | #512780 |
---|---|---|
RGB | 81, 39, 128 | rgb(81, 39, 128) |
RGB Percent | 31.76, 15.29, 50.2 | rgb(31.76, 15.29, 50.2) |
CMYK | 37, 70, 0, 50 | |
HSL | 268.3°, 53.29, 32.7 | hsl(268.3, 53.29%, 32.7%) |
HSV | 268.3°, 69.5, 50.2 |
XYZ | 8.015, 4.759, 20.918 |
---|---|
Hunter Lab | 21.815, 27.405, -41.581 |
CIE-LAB | 26.037, 38.066, -42.926 |
CIE-LCH | 26.037, 57.373, 311.566 |
CIE-LUV | 36.72, 69.53, 0, 49.8 |
Web Safe | 663399 |
RGB percent of color #512780
CMYK percent of color #512780
Text with hexadecimal color #512780
This text has a font color of #512780
<p style="color:#512780">Text here</p>
#512780 Background Color
This box has a background color of #512780
<div style="background-color:#512780">Text here</div>
#512780 Border Color
This box has a border color of #512780
<div style="border: 4px solid #512780">Text here</div>
CSS codes
<p style="color:#512780">Text here</p>
<div style="background-color:#512780">Text here</div>
<div style="border: 4px solid #512780">Text here</div>
#512780 Color on white background
This is how a font and box color of #512780 will look
on a white background.
#512780 Color on black background
This is how a font and box color of #512780 hex color will look
on a black background.