In RGB color space, #512a5b hex color has a red value of 81, a green value of 42 and a blue value of 91.
In CMYK color space (used in color printing), #512a5b hex color is composed of 10.99% cyan, 53.85% magenta, 0% yellow and 64.31% black.
#512a5b color has a hue of 287.8 degrees, a saturation of 36.84% and a lightness of 26.1%.
#512a5b hex color contains mainly BLUE.
The closest web safe color of #512a5b is #663366
#512a5b hex color has a decimal value of 5319259.
HEX | 512a5b | #512a5b |
---|---|---|
RGB | 81, 42, 91 | rgb(81, 42, 91) |
RGB Percent | 31.76, 16.47, 35.69 | rgb(31.76, 16.47, 35.69) |
CMYK | 11, 54, 0, 64 | |
HSL | 287.8°, 36.84, 26.1 | hsl(287.8, 36.84%, 26.1%) |
HSV | 287.8°, 53.8, 35.7 |
XYZ | 6.11, 4.161, 10.379 |
---|---|
Hunter Lab | 20.399, 17.769, -15.888 |
CIE-LAB | 24.197, 27.034, -22.057 |
CIE-LCH | 24.197, 34.891, 320.789 |
CIE-LUV | 10.99, 53.85, 0, 64.31 |
Web Safe | 663366 |
RGB percent of color #512a5b
CMYK percent of color #512a5b
Text with hexadecimal color #512a5b
This text has a font color of #512a5b
<p style="color:#512a5b">Text here</p>
#512a5b Background Color
This box has a background color of #512a5b
<div style="background-color:#512a5b">Text here</div>
#512a5b Border Color
This box has a border color of #512a5b
<div style="border: 4px solid #512a5b">Text here</div>
CSS codes
<p style="color:#512a5b">Text here</p>
<div style="background-color:#512a5b">Text here</div>
<div style="border: 4px solid #512a5b">Text here</div>
#512a5b Color on white background
This is how a font and box color of #512a5b will look
on a white background.
#512a5b Color on black background
This is how a font and box color of #512a5b hex color will look
on a black background.