In RGB color space, #512b9f hex color has a red value of 81, a green value of 43 and a blue value of 159.
In CMYK color space (used in color printing), #512b9f hex color is composed of 49.06% cyan, 72.96% magenta, 0% yellow and 37.65% black.
#512b9f color has a hue of 259.7 degrees, a saturation of 57.43% and a lightness of 39.6%.
#512b9f hex color contains mainly BLUE.
The closest web safe color of #512b9f is #663399
#512b9f hex color has a decimal value of 5319583.
HEX | 512b9f | #512b9f |
---|---|---|
RGB | 81, 43, 159 | rgb(81, 43, 159) |
RGB Percent | 31.76, 16.86, 62.35 | rgb(31.76, 16.86, 62.35) |
CMYK | 49, 73, 0, 38 | |
HSL | 259.7°, 57.43, 39.6 | hsl(259.7, 57.43%, 39.6%) |
HSV | 259.7°, 73, 62.4 |
XYZ | 10.515, 5.98, 33.401 |
---|---|
Hunter Lab | 24.454, 33.959, -63.865 |
CIE-LAB | 29.362, 44.501, -56.675 |
CIE-LCH | 29.362, 72.058, 308.139 |
CIE-LUV | 49.06, 72.96, 0, 37.65 |
Web Safe | 663399 |
RGB percent of color #512b9f
CMYK percent of color #512b9f
Text with hexadecimal color #512b9f
This text has a font color of #512b9f
<p style="color:#512b9f">Text here</p>
#512b9f Background Color
This box has a background color of #512b9f
<div style="background-color:#512b9f">Text here</div>
#512b9f Border Color
This box has a border color of #512b9f
<div style="border: 4px solid #512b9f">Text here</div>
CSS codes
<p style="color:#512b9f">Text here</p>
<div style="background-color:#512b9f">Text here</div>
<div style="border: 4px solid #512b9f">Text here</div>
#512b9f Color on white background
This is how a font and box color of #512b9f will look
on a white background.
#512b9f Color on black background
This is how a font and box color of #512b9f hex color will look
on a black background.