In RGB color space, #512e9b hex color has a red value of 81, a green value of 46 and a blue value of 155.
In CMYK color space (used in color printing), #512e9b hex color is composed of 47.74% cyan, 70.32% magenta, 0% yellow and 39.22% black.
#512e9b color has a hue of 259.3 degrees, a saturation of 54.23% and a lightness of 39.4%.
#512e9b hex color contains mainly BLUE.
The closest web safe color of #512e9b is #663399
#512e9b hex color has a decimal value of 5320347.
HEX | 512e9b | #512e9b |
---|---|---|
RGB | 81, 46, 155 | rgb(81, 46, 155) |
RGB Percent | 31.76, 18.04, 60.78 | rgb(31.76, 18.04, 60.78) |
CMYK | 48, 70, 0, 39 | |
HSL | 259.3°, 54.23, 39.4 | hsl(259.3, 54.23%, 39.4%) |
HSV | 259.3°, 70.3, 60.8 |
XYZ | 10.287, 6.07, 31.64 |
---|---|
Hunter Lab | 24.637, 31.415, -58.896 |
CIE-LAB | 29.588, 41.778, -53.871 |
CIE-LCH | 29.588, 68.172, 307.794 |
CIE-LUV | 47.74, 70.32, 0, 39.22 |
Web Safe | 663399 |
RGB percent of color #512e9b
CMYK percent of color #512e9b
Text with hexadecimal color #512e9b
This text has a font color of #512e9b
<p style="color:#512e9b">Text here</p>
#512e9b Background Color
This box has a background color of #512e9b
<div style="background-color:#512e9b">Text here</div>
#512e9b Border Color
This box has a border color of #512e9b
<div style="border: 4px solid #512e9b">Text here</div>
CSS codes
<p style="color:#512e9b">Text here</p>
<div style="background-color:#512e9b">Text here</div>
<div style="border: 4px solid #512e9b">Text here</div>
#512e9b Color on white background
This is how a font and box color of #512e9b will look
on a white background.
#512e9b Color on black background
This is how a font and box color of #512e9b hex color will look
on a black background.