In RGB color space, #512b7f hex color has a red value of 81, a green value of 43 and a blue value of 127.
In CMYK color space (used in color printing), #512b7f hex color is composed of 36.22% cyan, 66.14% magenta, 0% yellow and 50.2% black.
#512b7f color has a hue of 267.1 degrees, a saturation of 49.41% and a lightness of 33.3%.
#512b7f hex color contains mainly BLUE.
The closest web safe color of #512b7f is #663366
#512b7f hex color has a decimal value of 5319551.
HEX | 512b7f | #512b7f |
---|---|---|
RGB | 81, 43, 127 | rgb(81, 43, 127) |
RGB Percent | 31.76, 16.86, 49.8 | rgb(31.76, 16.86, 49.8) |
CMYK | 36, 66, 0, 50 | |
HSL | 267.1°, 49.41, 33.3 | hsl(267.1, 49.41%, 33.3%) |
HSV | 267.1°, 66.1, 49.8 |
XYZ | 8.088, 5.009, 20.619 |
---|---|
Hunter Lab | 22.381, 25.34, -38.956 |
CIE-LAB | 26.76, 35.611, -41.126 |
CIE-LCH | 26.76, 54.401, 310.889 |
CIE-LUV | 36.22, 66.14, 0, 50.2 |
Web Safe | 663366 |
RGB percent of color #512b7f
CMYK percent of color #512b7f
Text with hexadecimal color #512b7f
This text has a font color of #512b7f
<p style="color:#512b7f">Text here</p>
#512b7f Background Color
This box has a background color of #512b7f
<div style="background-color:#512b7f">Text here</div>
#512b7f Border Color
This box has a border color of #512b7f
<div style="border: 4px solid #512b7f">Text here</div>
CSS codes
<p style="color:#512b7f">Text here</p>
<div style="background-color:#512b7f">Text here</div>
<div style="border: 4px solid #512b7f">Text here</div>
#512b7f Color on white background
This is how a font and box color of #512b7f will look
on a white background.
#512b7f Color on black background
This is how a font and box color of #512b7f hex color will look
on a black background.