In RGB color space, #512d9c hex color has a red value of 81, a green value of 45 and a blue value of 156.
In CMYK color space (used in color printing), #512d9c hex color is composed of 48.08% cyan, 71.15% magenta, 0% yellow and 38.82% black.
#512d9c color has a hue of 259.5 degrees, a saturation of 55.22% and a lightness of 39.4%.
#512d9c hex color contains mainly BLUE.
The closest web safe color of #512d9c is #663399
#512d9c hex color has a decimal value of 5320092.
HEX | 512d9c | #512d9c |
---|---|---|
RGB | 81, 45, 156 | rgb(81, 45, 156) |
RGB Percent | 31.76, 17.65, 61.18 | rgb(31.76, 17.65, 61.18) |
CMYK | 48, 71, 0, 39 | |
HSL | 259.5°, 55.22, 39.4 | hsl(259.5, 55.22%, 39.4%) |
HSV | 259.5°, 71.2, 61.2 |
XYZ | 10.332, 6.026, 32.071 |
---|---|
Hunter Lab | 24.548, 32.17, -60.277 |
CIE-LAB | 29.478, 42.601, -54.66 |
CIE-LCH | 29.478, 69.301, 307.932 |
CIE-LUV | 48.08, 71.15, 0, 38.82 |
Web Safe | 663399 |
RGB percent of color #512d9c
CMYK percent of color #512d9c
Text with hexadecimal color #512d9c
This text has a font color of #512d9c
<p style="color:#512d9c">Text here</p>
#512d9c Background Color
This box has a background color of #512d9c
<div style="background-color:#512d9c">Text here</div>
#512d9c Border Color
This box has a border color of #512d9c
<div style="border: 4px solid #512d9c">Text here</div>
CSS codes
<p style="color:#512d9c">Text here</p>
<div style="background-color:#512d9c">Text here</div>
<div style="border: 4px solid #512d9c">Text here</div>
#512d9c Color on white background
This is how a font and box color of #512d9c will look
on a white background.
#512d9c Color on black background
This is how a font and box color of #512d9c hex color will look
on a black background.