In RGB color space, #512494 hex color has a red value of 81, a green value of 36 and a blue value of 148.
In CMYK color space (used in color printing), #512494 hex color is composed of 45.27% cyan, 75.68% magenta, 0% yellow and 41.96% black.
#512494 color has a hue of 264.1 degrees, a saturation of 60.87% and a lightness of 36.1%.
#512494 hex color contains mainly BLUE.
The closest web safe color of #512494 is #663399
#512494 hex color has a decimal value of 5317780.
HEX | 512494 | #512494 |
---|---|---|
RGB | 81, 36, 148 | rgb(81, 36, 148) |
RGB Percent | 31.76, 14.12, 58.04 | rgb(31.76, 14.12, 58.04) |
CMYK | 45, 76, 0, 42 | |
HSL | 264.1°, 60.87, 36.1 | hsl(264.1, 60.87%, 36.1%) |
HSV | 264.1°, 75.7, 58 |
XYZ | 9.37, 5.149, 28.517 |
---|---|
Hunter Lab | 22.691, 33.998, -58.628 |
CIE-LAB | 27.155, 44.964, -53.556 |
CIE-LCH | 27.155, 69.929, 310.016 |
CIE-LUV | 45.27, 75.68, 0, 41.96 |
Web Safe | 663399 |
RGB percent of color #512494
CMYK percent of color #512494
Text with hexadecimal color #512494
This text has a font color of #512494
<p style="color:#512494">Text here</p>
#512494 Background Color
This box has a background color of #512494
<div style="background-color:#512494">Text here</div>
#512494 Border Color
This box has a border color of #512494
<div style="border: 4px solid #512494">Text here</div>
CSS codes
<p style="color:#512494">Text here</p>
<div style="background-color:#512494">Text here</div>
<div style="border: 4px solid #512494">Text here</div>
#512494 Color on white background
This is how a font and box color of #512494 will look
on a white background.
#512494 Color on black background
This is how a font and box color of #512494 hex color will look
on a black background.