In RGB color space, #512f89 hex color has a red value of 81, a green value of 47 and a blue value of 137.
In CMYK color space (used in color printing), #512f89 hex color is composed of 40.88% cyan, 65.69% magenta, 0% yellow and 46.27% black.
#512f89 color has a hue of 262.7 degrees, a saturation of 48.91% and a lightness of 36.1%.
#512f89 hex color contains mainly BLUE.
The closest web safe color of #512f89 is #663399
#512f89 hex color has a decimal value of 5320585.
HEX | 512f89 | #512f89 |
---|---|---|
RGB | 81, 47, 137 | rgb(81, 47, 137) |
RGB Percent | 31.76, 18.43, 53.73 | rgb(31.76, 18.43, 53.73) |
CMYK | 41, 66, 0, 46 | |
HSL | 262.7°, 48.91, 36.1 | hsl(262.7, 48.91%, 36.1%) |
HSV | 262.7°, 65.7, 53.7 |
XYZ | 8.925, 5.589, 24.275 |
---|---|
Hunter Lab | 23.641, 26.016, -44.331 |
CIE-LAB | 28.351, 36.094, -44.806 |
CIE-LCH | 28.351, 57.536, 308.854 |
CIE-LUV | 40.88, 65.69, 0, 46.27 |
Web Safe | 663399 |
RGB percent of color #512f89
CMYK percent of color #512f89
Text with hexadecimal color #512f89
This text has a font color of #512f89
<p style="color:#512f89">Text here</p>
#512f89 Background Color
This box has a background color of #512f89
<div style="background-color:#512f89">Text here</div>
#512f89 Border Color
This box has a border color of #512f89
<div style="border: 4px solid #512f89">Text here</div>
CSS codes
<p style="color:#512f89">Text here</p>
<div style="background-color:#512f89">Text here</div>
<div style="border: 4px solid #512f89">Text here</div>
#512f89 Color on white background
This is how a font and box color of #512f89 will look
on a white background.
#512f89 Color on black background
This is how a font and box color of #512f89 hex color will look
on a black background.