In RGB color space, #512495 hex color has a red value of 81, a green value of 36 and a blue value of 149.
In CMYK color space (used in color printing), #512495 hex color is composed of 45.64% cyan, 75.84% magenta, 0% yellow and 41.57% black.
#512495 color has a hue of 263.9 degrees, a saturation of 61.08% and a lightness of 36.3%.
#512495 hex color contains mainly BLUE.
The closest web safe color of #512495 is #663399
#512495 hex color has a decimal value of 5317781.
HEX | 512495 | #512495 |
---|---|---|
RGB | 81, 36, 149 | rgb(81, 36, 149) |
RGB Percent | 31.76, 14.12, 58.43 | rgb(31.76, 14.12, 58.43) |
CMYK | 46, 76, 0, 42 | |
HSL | 263.9°, 61.08, 36.3 | hsl(263.9, 61.08%, 36.3%) |
HSV | 263.9°, 75.8, 58.4 |
XYZ | 9.449, 5.181, 28.936 |
---|---|
Hunter Lab | 22.762, 34.267, -59.439 |
CIE-LAB | 27.244, 45.227, -54.026 |
CIE-LCH | 27.244, 70.458, 309.934 |
CIE-LUV | 45.64, 75.84, 0, 41.57 |
Web Safe | 663399 |
RGB percent of color #512495
CMYK percent of color #512495
Text with hexadecimal color #512495
This text has a font color of #512495
<p style="color:#512495">Text here</p>
#512495 Background Color
This box has a background color of #512495
<div style="background-color:#512495">Text here</div>
#512495 Border Color
This box has a border color of #512495
<div style="border: 4px solid #512495">Text here</div>
CSS codes
<p style="color:#512495">Text here</p>
<div style="background-color:#512495">Text here</div>
<div style="border: 4px solid #512495">Text here</div>
#512495 Color on white background
This is how a font and box color of #512495 will look
on a white background.
#512495 Color on black background
This is how a font and box color of #512495 hex color will look
on a black background.