In RGB color space, #512c9b hex color has a red value of 81, a green value of 44 and a blue value of 155.
In CMYK color space (used in color printing), #512c9b hex color is composed of 47.74% cyan, 71.61% magenta, 0% yellow and 39.22% black.
#512c9b color has a hue of 260 degrees, a saturation of 55.78% and a lightness of 39%.
#512c9b hex color contains mainly BLUE.
The closest web safe color of #512c9b is #663399
#512c9b hex color has a decimal value of 5319835.
HEX | 512c9b | #512c9b |
---|---|---|
RGB | 81, 44, 155 | rgb(81, 44, 155) |
RGB Percent | 31.76, 17.25, 60.78 | rgb(31.76, 17.25, 60.78) |
CMYK | 48, 72, 0, 39 | |
HSL | 260°, 55.78, 39 | hsl(260, 55.78%, 39%) |
HSV | 260°, 71.6, 60.8 |
XYZ | 10.21, 5.917, 31.614 |
---|---|
Hunter Lab | 24.325, 32.354, -60.029 |
CIE-LAB | 29.202, 42.847, -54.5 |
CIE-LCH | 29.202, 69.326, 308.174 |
CIE-LUV | 47.74, 71.61, 0, 39.22 |
Web Safe | 663399 |
RGB percent of color #512c9b
CMYK percent of color #512c9b
Text with hexadecimal color #512c9b
This text has a font color of #512c9b
<p style="color:#512c9b">Text here</p>
#512c9b Background Color
This box has a background color of #512c9b
<div style="background-color:#512c9b">Text here</div>
#512c9b Border Color
This box has a border color of #512c9b
<div style="border: 4px solid #512c9b">Text here</div>
CSS codes
<p style="color:#512c9b">Text here</p>
<div style="background-color:#512c9b">Text here</div>
<div style="border: 4px solid #512c9b">Text here</div>
#512c9b Color on white background
This is how a font and box color of #512c9b will look
on a white background.
#512c9b Color on black background
This is how a font and box color of #512c9b hex color will look
on a black background.