In RGB color space, #512a6d hex color has a red value of 81, a green value of 42 and a blue value of 109.
In CMYK color space (used in color printing), #512a6d hex color is composed of 25.69% cyan, 61.47% magenta, 0% yellow and 57.25% black.
#512a6d color has a hue of 274.9 degrees, a saturation of 44.37% and a lightness of 29.6%.
#512a6d hex color contains mainly BLUE.
The closest web safe color of #512a6d is #663366
#512a6d hex color has a decimal value of 5319277.
HEX | 512a6d | #512a6d |
---|---|---|
RGB | 81, 42, 109 | rgb(81, 42, 109) |
RGB Percent | 31.76, 16.47, 42.75 | rgb(31.76, 16.47, 42.75) |
CMYK | 26, 61, 0, 57 | |
HSL | 274.9°, 44.37, 29.6 | hsl(274.9, 44.37%, 29.6%) |
HSV | 274.9°, 61.5, 42.7 |
XYZ | 6.982, 4.509, 14.97 |
---|---|
Hunter Lab | 21.234, 21.532, -26.935 |
CIE-LAB | 25.287, 31.44, -32.04 |
CIE-LCH | 25.287, 44.889, 314.458 |
CIE-LUV | 25.69, 61.47, 0, 57.25 |
Web Safe | 663366 |
RGB percent of color #512a6d
CMYK percent of color #512a6d
Text with hexadecimal color #512a6d
This text has a font color of #512a6d
<p style="color:#512a6d">Text here</p>
#512a6d Background Color
This box has a background color of #512a6d
<div style="background-color:#512a6d">Text here</div>
#512a6d Border Color
This box has a border color of #512a6d
<div style="border: 4px solid #512a6d">Text here</div>
CSS codes
<p style="color:#512a6d">Text here</p>
<div style="background-color:#512a6d">Text here</div>
<div style="border: 4px solid #512a6d">Text here</div>
#512a6d Color on white background
This is how a font and box color of #512a6d will look
on a white background.
#512a6d Color on black background
This is how a font and box color of #512a6d hex color will look
on a black background.