In RGB color space, #512894 hex color has a red value of 81, a green value of 40 and a blue value of 148.
In CMYK color space (used in color printing), #512894 hex color is composed of 45.27% cyan, 72.97% magenta, 0% yellow and 41.96% black.
#512894 color has a hue of 262.8 degrees, a saturation of 57.45% and a lightness of 36.9%.
#512894 hex color contains mainly BLUE.
The closest web safe color of #512894 is #663399
#512894 hex color has a decimal value of 5318804.
HEX | 512894 | #512894 |
---|---|---|
RGB | 81, 40, 148 | rgb(81, 40, 148) |
RGB Percent | 31.76, 15.69, 58.04 | rgb(31.76, 15.69, 58.04) |
CMYK | 45, 73, 0, 42 | |
HSL | 262.8°, 57.45, 36.9 | hsl(262.8, 57.45%, 36.9%) |
HSV | 262.8°, 73, 58 |
XYZ | 9.497, 5.405, 28.56 |
---|---|
Hunter Lab | 23.249, 32.232, -56.561 |
CIE-LAB | 27.859, 42.97, -52.407 |
CIE-LCH | 27.859, 67.771, 309.349 |
CIE-LUV | 45.27, 72.97, 0, 41.96 |
Web Safe | 663399 |
RGB percent of color #512894
CMYK percent of color #512894
Text with hexadecimal color #512894
This text has a font color of #512894
<p style="color:#512894">Text here</p>
#512894 Background Color
This box has a background color of #512894
<div style="background-color:#512894">Text here</div>
#512894 Border Color
This box has a border color of #512894
<div style="border: 4px solid #512894">Text here</div>
CSS codes
<p style="color:#512894">Text here</p>
<div style="background-color:#512894">Text here</div>
<div style="border: 4px solid #512894">Text here</div>
#512894 Color on white background
This is how a font and box color of #512894 will look
on a white background.
#512894 Color on black background
This is how a font and box color of #512894 hex color will look
on a black background.