In RGB color space, #512b8b hex color has a red value of 81, a green value of 43 and a blue value of 139.
In CMYK color space (used in color printing), #512b8b hex color is composed of 41.73% cyan, 69.06% magenta, 0% yellow and 45.49% black.
#512b8b color has a hue of 263.8 degrees, a saturation of 52.75% and a lightness of 35.7%.
#512b8b hex color contains mainly BLUE.
The closest web safe color of #512b8b is #663399
#512b8b hex color has a decimal value of 5319563.
HEX | 512b8b | #512b8b |
---|---|---|
RGB | 81, 43, 139 | rgb(81, 43, 139) |
RGB Percent | 31.76, 16.86, 54.51 | rgb(31.76, 16.86, 54.51) |
CMYK | 42, 69, 0, 45 | |
HSL | 263.8°, 52.75, 35.7 | hsl(263.8, 52.75%, 35.7%) |
HSV | 263.8°, 69.1, 54.5 |
XYZ | 8.917, 5.341, 24.987 |
---|---|
Hunter Lab | 23.111, 28.429, -47.926 |
CIE-LAB | 27.685, 38.897, -47.128 |
CIE-LCH | 27.685, 61.107, 309.534 |
CIE-LUV | 41.73, 69.06, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #512b8b
CMYK percent of color #512b8b
Text with hexadecimal color #512b8b
This text has a font color of #512b8b
<p style="color:#512b8b">Text here</p>
#512b8b Background Color
This box has a background color of #512b8b
<div style="background-color:#512b8b">Text here</div>
#512b8b Border Color
This box has a border color of #512b8b
<div style="border: 4px solid #512b8b">Text here</div>
CSS codes
<p style="color:#512b8b">Text here</p>
<div style="background-color:#512b8b">Text here</div>
<div style="border: 4px solid #512b8b">Text here</div>
#512b8b Color on white background
This is how a font and box color of #512b8b will look
on a white background.
#512b8b Color on black background
This is how a font and box color of #512b8b hex color will look
on a black background.