In RGB color space, #512b74 hex color has a red value of 81, a green value of 43 and a blue value of 116.
In CMYK color space (used in color printing), #512b74 hex color is composed of 30.17% cyan, 62.93% magenta, 0% yellow and 54.51% black.
#512b74 color has a hue of 271.2 degrees, a saturation of 45.91% and a lightness of 31.2%.
#512b74 hex color contains mainly BLUE.
The closest web safe color of #512b74 is #663366
#512b74 hex color has a decimal value of 5319540.
HEX | 512b74 | #512b74 |
---|---|---|
RGB | 81, 43, 116 | rgb(81, 43, 116) |
RGB Percent | 31.76, 16.86, 45.49 | rgb(31.76, 16.86, 45.49) |
CMYK | 30, 63, 0, 55 | |
HSL | 271.2°, 45.91, 31.2 | hsl(271.2, 45.91%, 31.2%) |
HSV | 271.2°, 62.9, 45.5 |
XYZ | 7.41, 4.738, 17.047 |
---|---|
Hunter Lab | 21.767, 22.674, -31.197 |
CIE-LAB | 25.975, 32.671, -35.423 |
CIE-LCH | 25.975, 48.189, 312.686 |
CIE-LUV | 30.17, 62.93, 0, 54.51 |
Web Safe | 663366 |
RGB percent of color #512b74
CMYK percent of color #512b74
Text with hexadecimal color #512b74
This text has a font color of #512b74
<p style="color:#512b74">Text here</p>
#512b74 Background Color
This box has a background color of #512b74
<div style="background-color:#512b74">Text here</div>
#512b74 Border Color
This box has a border color of #512b74
<div style="border: 4px solid #512b74">Text here</div>
CSS codes
<p style="color:#512b74">Text here</p>
<div style="background-color:#512b74">Text here</div>
<div style="border: 4px solid #512b74">Text here</div>
#512b74 Color on white background
This is how a font and box color of #512b74 will look
on a white background.
#512b74 Color on black background
This is how a font and box color of #512b74 hex color will look
on a black background.