In RGB color space, #512a97 hex color has a red value of 81, a green value of 42 and a blue value of 151.
In CMYK color space (used in color printing), #512a97 hex color is composed of 46.36% cyan, 72.19% magenta, 0% yellow and 40.78% black.
#512a97 color has a hue of 261.5 degrees, a saturation of 56.48% and a lightness of 37.8%.
#512a97 hex color contains mainly BLUE.
The closest web safe color of #512a97 is #663399
#512a97 hex color has a decimal value of 5319319.
HEX | 512a97 | #512a97 |
---|---|---|
RGB | 81, 42, 151 | rgb(81, 42, 151) |
RGB Percent | 31.76, 16.47, 59.22 | rgb(31.76, 16.47, 59.22) |
CMYK | 46, 72, 0, 41 | |
HSL | 261.5°, 56.48, 37.8 | hsl(261.5, 56.48%, 37.8%) |
HSV | 261.5°, 72.2, 59.2 |
XYZ | 9.807, 5.64, 29.85 |
---|---|
Hunter Lab | 23.749, 32.151, -57.898 |
CIE-LAB | 28.485, 42.767, -53.226 |
CIE-LCH | 28.485, 68.279, 308.782 |
CIE-LUV | 46.36, 72.19, 0, 40.78 |
Web Safe | 663399 |
RGB percent of color #512a97
CMYK percent of color #512a97
Text with hexadecimal color #512a97
This text has a font color of #512a97
<p style="color:#512a97">Text here</p>
#512a97 Background Color
This box has a background color of #512a97
<div style="background-color:#512a97">Text here</div>
#512a97 Border Color
This box has a border color of #512a97
<div style="border: 4px solid #512a97">Text here</div>
CSS codes
<p style="color:#512a97">Text here</p>
<div style="background-color:#512a97">Text here</div>
<div style="border: 4px solid #512a97">Text here</div>
#512a97 Color on white background
This is how a font and box color of #512a97 will look
on a white background.
#512a97 Color on black background
This is how a font and box color of #512a97 hex color will look
on a black background.