In RGB color space, #512a6b hex color has a red value of 81, a green value of 42 and a blue value of 107.
In CMYK color space (used in color printing), #512a6b hex color is composed of 24.3% cyan, 60.75% magenta, 0% yellow and 58.04% black.
#512a6b color has a hue of 276 degrees, a saturation of 43.62% and a lightness of 29.2%.
#512a6b hex color contains mainly BLUE.
The closest web safe color of #512a6b is #663366
#512a6b hex color has a decimal value of 5319275.
HEX | 512a6b | #512a6b |
---|---|---|
RGB | 81, 42, 107 | rgb(81, 42, 107) |
RGB Percent | 31.76, 16.47, 41.96 | rgb(31.76, 16.47, 41.96) |
CMYK | 24, 61, 0, 58 | |
HSL | 276°, 43.62, 29.2 | hsl(276, 43.62%, 29.2%) |
HSV | 276°, 60.7, 42 |
XYZ | 6.875, 4.467, 14.41 |
---|---|
Hunter Lab | 21.135, 21.077, -25.629 |
CIE-LAB | 25.159, 30.919, -30.958 |
CIE-LCH | 25.159, 43.754, 314.964 |
CIE-LUV | 24.3, 60.75, 0, 58.04 |
Web Safe | 663366 |
RGB percent of color #512a6b
CMYK percent of color #512a6b
Text with hexadecimal color #512a6b
This text has a font color of #512a6b
<p style="color:#512a6b">Text here</p>
#512a6b Background Color
This box has a background color of #512a6b
<div style="background-color:#512a6b">Text here</div>
#512a6b Border Color
This box has a border color of #512a6b
<div style="border: 4px solid #512a6b">Text here</div>
CSS codes
<p style="color:#512a6b">Text here</p>
<div style="background-color:#512a6b">Text here</div>
<div style="border: 4px solid #512a6b">Text here</div>
#512a6b Color on white background
This is how a font and box color of #512a6b will look
on a white background.
#512a6b Color on black background
This is how a font and box color of #512a6b hex color will look
on a black background.