In RGB color space, #512a89 hex color has a red value of 81, a green value of 42 and a blue value of 137.
In CMYK color space (used in color printing), #512a89 hex color is composed of 40.88% cyan, 69.34% magenta, 0% yellow and 46.27% black.
#512a89 color has a hue of 264.6 degrees, a saturation of 53.07% and a lightness of 35.1%.
#512a89 hex color contains mainly BLUE.
The closest web safe color of #512a89 is #663399
#512a89 hex color has a decimal value of 5319305.
HEX | 512a89 | #512a89 |
---|---|---|
RGB | 81, 42, 137 | rgb(81, 42, 137) |
RGB Percent | 31.76, 16.47, 53.73 | rgb(31.76, 16.47, 53.73) |
CMYK | 41, 69, 0, 46 | |
HSL | 264.6°, 53.07, 35.1 | hsl(264.6, 53.07%, 35.1%) |
HSV | 264.6°, 69.3, 53.7 |
XYZ | 8.737, 5.211, 24.212 |
---|---|
Hunter Lab | 22.828, 28.37, -46.906 |
CIE-LAB | 27.328, 38.898, -46.465 |
CIE-LCH | 27.328, 60.597, 309.934 |
CIE-LUV | 40.88, 69.34, 0, 46.27 |
Web Safe | 663399 |
RGB percent of color #512a89
CMYK percent of color #512a89
Text with hexadecimal color #512a89
This text has a font color of #512a89
<p style="color:#512a89">Text here</p>
#512a89 Background Color
This box has a background color of #512a89
<div style="background-color:#512a89">Text here</div>
#512a89 Border Color
This box has a border color of #512a89
<div style="border: 4px solid #512a89">Text here</div>
CSS codes
<p style="color:#512a89">Text here</p>
<div style="background-color:#512a89">Text here</div>
<div style="border: 4px solid #512a89">Text here</div>
#512a89 Color on white background
This is how a font and box color of #512a89 will look
on a white background.
#512a89 Color on black background
This is how a font and box color of #512a89 hex color will look
on a black background.