In RGB color space, #512c9c hex color has a red value of 81, a green value of 44 and a blue value of 156.
In CMYK color space (used in color printing), #512c9c hex color is composed of 48.08% cyan, 71.79% magenta, 0% yellow and 38.82% black.
#512c9c color has a hue of 259.8 degrees, a saturation of 56% and a lightness of 39.2%.
#512c9c hex color contains mainly BLUE.
The closest web safe color of #512c9c is #663399
#512c9c hex color has a decimal value of 5319836.
HEX | 512c9c | #512c9c |
---|---|---|
RGB | 81, 44, 156 | rgb(81, 44, 156) |
RGB Percent | 31.76, 17.25, 61.18 | rgb(31.76, 17.25, 61.18) |
CMYK | 48, 72, 0, 39 | |
HSL | 259.8°, 56, 39.2 | hsl(259.8, 56%, 39.2%) |
HSV | 259.8°, 71.8, 61.2 |
XYZ | 10.295, 5.951, 32.059 |
---|---|
Hunter Lab | 24.395, 32.64, -60.841 |
CIE-LAB | 29.289, 43.132, -54.97 |
CIE-LCH | 29.289, 69.872, 308.119 |
CIE-LUV | 48.08, 71.79, 0, 38.82 |
Web Safe | 663399 |
RGB percent of color #512c9c
CMYK percent of color #512c9c
Text with hexadecimal color #512c9c
This text has a font color of #512c9c
<p style="color:#512c9c">Text here</p>
#512c9c Background Color
This box has a background color of #512c9c
<div style="background-color:#512c9c">Text here</div>
#512c9c Border Color
This box has a border color of #512c9c
<div style="border: 4px solid #512c9c">Text here</div>
CSS codes
<p style="color:#512c9c">Text here</p>
<div style="background-color:#512c9c">Text here</div>
<div style="border: 4px solid #512c9c">Text here</div>
#512c9c Color on white background
This is how a font and box color of #512c9c will look
on a white background.
#512c9c Color on black background
This is how a font and box color of #512c9c hex color will look
on a black background.