In RGB color space, #512f97 hex color has a red value of 81, a green value of 47 and a blue value of 151.
In CMYK color space (used in color printing), #512f97 hex color is composed of 46.36% cyan, 68.87% magenta, 0% yellow and 40.78% black.
#512f97 color has a hue of 259.6 degrees, a saturation of 52.53% and a lightness of 38.8%.
#512f97 hex color contains mainly BLUE.
The closest web safe color of #512f97 is #663399
#512f97 hex color has a decimal value of 5320599.
HEX | 512f97 | #512f97 |
---|---|---|
RGB | 81, 47, 151 | rgb(81, 47, 151) |
RGB Percent | 31.76, 18.43, 59.22 | rgb(31.76, 18.43, 59.22) |
CMYK | 46, 69, 0, 41 | |
HSL | 259.6°, 52.53, 38.8 | hsl(259.6, 52.53%, 38.8%) |
HSV | 259.6°, 68.9, 59.2 |
XYZ | 9.996, 6.017, 29.913 |
---|---|
Hunter Lab | 24.53, 29.813, -55.131 |
CIE-LAB | 29.455, 40.083, -51.645 |
CIE-LCH | 29.455, 65.375, 307.816 |
CIE-LUV | 46.36, 68.87, 0, 40.78 |
Web Safe | 663399 |
RGB percent of color #512f97
CMYK percent of color #512f97
Text with hexadecimal color #512f97
This text has a font color of #512f97
<p style="color:#512f97">Text here</p>
#512f97 Background Color
This box has a background color of #512f97
<div style="background-color:#512f97">Text here</div>
#512f97 Border Color
This box has a border color of #512f97
<div style="border: 4px solid #512f97">Text here</div>
CSS codes
<p style="color:#512f97">Text here</p>
<div style="background-color:#512f97">Text here</div>
<div style="border: 4px solid #512f97">Text here</div>
#512f97 Color on white background
This is how a font and box color of #512f97 will look
on a white background.
#512f97 Color on black background
This is how a font and box color of #512f97 hex color will look
on a black background.