In RGB color space, #512d9f hex color has a red value of 81, a green value of 45 and a blue value of 159.
In CMYK color space (used in color printing), #512d9f hex color is composed of 49.06% cyan, 71.7% magenta, 0% yellow and 37.65% black.
#512d9f color has a hue of 258.9 degrees, a saturation of 55.88% and a lightness of 40%.
#512d9f hex color contains mainly BLUE.
The closest web safe color of #512d9f is #663399
#512d9f hex color has a decimal value of 5320095.
HEX | 512d9f | #512d9f |
---|---|---|
RGB | 81, 45, 159 | rgb(81, 45, 159) |
RGB Percent | 31.76, 17.65, 62.35 | rgb(31.76, 17.65, 62.35) |
CMYK | 49, 72, 0, 38 | |
HSL | 258.9°, 55.88, 40 | hsl(258.9, 55.88%, 40%) |
HSV | 258.9°, 71.7, 62.4 |
XYZ | 10.59, 6.129, 33.426 |
---|---|
Hunter Lab | 24.757, 33.031, -62.722 |
CIE-LAB | 29.736, 43.46, -56.064 |
CIE-LCH | 29.736, 70.936, 307.782 |
CIE-LUV | 49.06, 71.7, 0, 37.65 |
Web Safe | 663399 |
RGB percent of color #512d9f
CMYK percent of color #512d9f
Text with hexadecimal color #512d9f
This text has a font color of #512d9f
<p style="color:#512d9f">Text here</p>
#512d9f Background Color
This box has a background color of #512d9f
<div style="background-color:#512d9f">Text here</div>
#512d9f Border Color
This box has a border color of #512d9f
<div style="border: 4px solid #512d9f">Text here</div>
CSS codes
<p style="color:#512d9f">Text here</p>
<div style="background-color:#512d9f">Text here</div>
<div style="border: 4px solid #512d9f">Text here</div>
#512d9f Color on white background
This is how a font and box color of #512d9f will look
on a white background.
#512d9f Color on black background
This is how a font and box color of #512d9f hex color will look
on a black background.