In RGB color space, #512aa7 hex color has a red value of 81, a green value of 42 and a blue value of 167.
In CMYK color space (used in color printing), #512aa7 hex color is composed of 51.5% cyan, 74.85% magenta, 0% yellow and 34.51% black.
#512aa7 color has a hue of 258.7 degrees, a saturation of 59.81% and a lightness of 41%.
#512aa7 hex color contains mainly BLUE.
The closest web safe color of #512aa7 is #663399
#512aa7 hex color has a decimal value of 5319335.
HEX | 512aa7 | #512aa7 |
---|---|---|
RGB | 81, 42, 167 | rgb(81, 42, 167) |
RGB Percent | 31.76, 16.47, 65.49 | rgb(31.76, 16.47, 65.49) |
CMYK | 52, 75, 0, 35 | |
HSL | 258.7°, 59.81, 41 | hsl(258.7, 59.81%, 41%) |
HSV | 258.7°, 74.9, 65.5 |
XYZ | 11.196, 6.195, 37.165 |
---|---|
Hunter Lab | 24.89, 36.736, -71.108 |
CIE-LAB | 29.899, 47.259, -60.636 |
CIE-LCH | 29.899, 76.877, 307.932 |
CIE-LUV | 51.5, 74.85, 0, 34.51 |
Web Safe | 663399 |
RGB percent of color #512aa7
CMYK percent of color #512aa7
Text with hexadecimal color #512aa7
This text has a font color of #512aa7
<p style="color:#512aa7">Text here</p>
#512aa7 Background Color
This box has a background color of #512aa7
<div style="background-color:#512aa7">Text here</div>
#512aa7 Border Color
This box has a border color of #512aa7
<div style="border: 4px solid #512aa7">Text here</div>
CSS codes
<p style="color:#512aa7">Text here</p>
<div style="background-color:#512aa7">Text here</div>
<div style="border: 4px solid #512aa7">Text here</div>
#512aa7 Color on white background
This is how a font and box color of #512aa7 will look
on a white background.
#512aa7 Color on black background
This is how a font and box color of #512aa7 hex color will look
on a black background.