In RGB color space, #512a74 hex color has a red value of 81, a green value of 42 and a blue value of 116.
In CMYK color space (used in color printing), #512a74 hex color is composed of 30.17% cyan, 63.79% magenta, 0% yellow and 54.51% black.
#512a74 color has a hue of 271.6 degrees, a saturation of 46.84% and a lightness of 31%.
#512a74 hex color contains mainly BLUE.
The closest web safe color of #512a74 is #663366
#512a74 hex color has a decimal value of 5319284.
HEX | 512a74 | #512a74 |
---|---|---|
RGB | 81, 42, 116 | rgb(81, 42, 116) |
RGB Percent | 31.76, 16.47, 45.49 | rgb(31.76, 16.47, 45.49) |
CMYK | 30, 64, 0, 55 | |
HSL | 271.6°, 46.84, 31 | hsl(271.6, 46.84%, 31%) |
HSV | 271.6°, 63.8, 45.5 |
XYZ | 7.374, 4.666, 17.035 |
---|---|
Hunter Lab | 21.601, 23.134, -31.637 |
CIE-LAB | 25.761, 33.246, -35.766 |
CIE-LCH | 25.761, 48.831, 312.909 |
CIE-LUV | 30.17, 63.79, 0, 54.51 |
Web Safe | 663366 |
RGB percent of color #512a74
CMYK percent of color #512a74
Text with hexadecimal color #512a74
This text has a font color of #512a74
<p style="color:#512a74">Text here</p>
#512a74 Background Color
This box has a background color of #512a74
<div style="background-color:#512a74">Text here</div>
#512a74 Border Color
This box has a border color of #512a74
<div style="border: 4px solid #512a74">Text here</div>
CSS codes
<p style="color:#512a74">Text here</p>
<div style="background-color:#512a74">Text here</div>
<div style="border: 4px solid #512a74">Text here</div>
#512a74 Color on white background
This is how a font and box color of #512a74 will look
on a white background.
#512a74 Color on black background
This is how a font and box color of #512a74 hex color will look
on a black background.