In RGB color space, #512498 hex color has a red value of 81, a green value of 36 and a blue value of 152.
In CMYK color space (used in color printing), #512498 hex color is composed of 46.71% cyan, 76.32% magenta, 0% yellow and 40.39% black.
#512498 color has a hue of 263.3 degrees, a saturation of 61.7% and a lightness of 36.9%.
#512498 hex color contains mainly BLUE.
The closest web safe color of #512498 is #663399
#512498 hex color has a decimal value of 5317784.
HEX | 512498 | #512498 |
---|---|---|
RGB | 81, 36, 152 | rgb(81, 36, 152) |
RGB Percent | 31.76, 14.12, 59.61 | rgb(31.76, 14.12, 59.61) |
CMYK | 47, 76, 0, 40 | |
HSL | 263.3°, 61.7, 36.9 | hsl(263.3, 61.7%, 36.9%) |
HSV | 263.3°, 76.3, 59.6 |
XYZ | 9.692, 5.278, 30.214 |
---|---|
Hunter Lab | 22.974, 35.099, -61.893 |
CIE-LAB | 27.513, 46.04, -55.429 |
CIE-LCH | 27.513, 72.056, 309.713 |
CIE-LUV | 46.71, 76.32, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #512498
CMYK percent of color #512498
Text with hexadecimal color #512498
This text has a font color of #512498
<p style="color:#512498">Text here</p>
#512498 Background Color
This box has a background color of #512498
<div style="background-color:#512498">Text here</div>
#512498 Border Color
This box has a border color of #512498
<div style="border: 4px solid #512498">Text here</div>
CSS codes
<p style="color:#512498">Text here</p>
<div style="background-color:#512498">Text here</div>
<div style="border: 4px solid #512498">Text here</div>
#512498 Color on white background
This is how a font and box color of #512498 will look
on a white background.
#512498 Color on black background
This is how a font and box color of #512498 hex color will look
on a black background.