In RGB color space, #512f98 hex color has a red value of 81, a green value of 47 and a blue value of 152.
In CMYK color space (used in color printing), #512f98 hex color is composed of 46.71% cyan, 69.08% magenta, 0% yellow and 40.39% black.
#512f98 color has a hue of 259.4 degrees, a saturation of 52.76% and a lightness of 39%.
#512f98 hex color contains mainly BLUE.
The closest web safe color of #512f98 is #663399
#512f98 hex color has a decimal value of 5320600.
HEX | 512f98 | #512f98 |
---|---|---|
RGB | 81, 47, 152 | rgb(81, 47, 152) |
RGB Percent | 31.76, 18.43, 59.61 | rgb(31.76, 18.43, 59.61) |
CMYK | 47, 69, 0, 40 | |
HSL | 259.4°, 52.76, 39 | hsl(259.4, 52.76%, 39%) |
HSV | 259.4°, 69.1, 59.6 |
XYZ | 10.077, 6.049, 30.342 |
---|---|
Hunter Lab | 24.595, 30.095, -55.929 |
CIE-LAB | 29.536, 40.372, -52.125 |
CIE-LCH | 29.536, 65.931, 307.759 |
CIE-LUV | 46.71, 69.08, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #512f98
CMYK percent of color #512f98
Text with hexadecimal color #512f98
This text has a font color of #512f98
<p style="color:#512f98">Text here</p>
#512f98 Background Color
This box has a background color of #512f98
<div style="background-color:#512f98">Text here</div>
#512f98 Border Color
This box has a border color of #512f98
<div style="border: 4px solid #512f98">Text here</div>
CSS codes
<p style="color:#512f98">Text here</p>
<div style="background-color:#512f98">Text here</div>
<div style="border: 4px solid #512f98">Text here</div>
#512f98 Color on white background
This is how a font and box color of #512f98 will look
on a white background.
#512f98 Color on black background
This is how a font and box color of #512f98 hex color will look
on a black background.