In RGB color space, #512795 hex color has a red value of 81, a green value of 39 and a blue value of 149.
In CMYK color space (used in color printing), #512795 hex color is composed of 45.64% cyan, 73.83% magenta, 0% yellow and 41.57% black.
#512795 color has a hue of 262.9 degrees, a saturation of 58.51% and a lightness of 36.9%.
#512795 hex color contains mainly BLUE.
The closest web safe color of #512795 is #663399
#512795 hex color has a decimal value of 5318549.
HEX | 512795 | #512795 |
---|---|---|
RGB | 81, 39, 149 | rgb(81, 39, 149) |
RGB Percent | 31.76, 15.29, 58.43 | rgb(31.76, 15.29, 58.43) |
CMYK | 46, 74, 0, 42 | |
HSL | 262.9°, 58.51, 36.9 | hsl(262.9, 58.51%, 36.9%) |
HSV | 262.9°, 73.8, 58.4 |
XYZ | 9.544, 5.37, 28.967 |
---|---|
Hunter Lab | 23.173, 32.963, -57.892 |
CIE-LAB | 27.764, 43.761, -53.176 |
CIE-LCH | 27.764, 68.867, 309.453 |
CIE-LUV | 45.64, 73.83, 0, 41.57 |
Web Safe | 663399 |
RGB percent of color #512795
CMYK percent of color #512795
Text with hexadecimal color #512795
This text has a font color of #512795
<p style="color:#512795">Text here</p>
#512795 Background Color
This box has a background color of #512795
<div style="background-color:#512795">Text here</div>
#512795 Border Color
This box has a border color of #512795
<div style="border: 4px solid #512795">Text here</div>
CSS codes
<p style="color:#512795">Text here</p>
<div style="background-color:#512795">Text here</div>
<div style="border: 4px solid #512795">Text here</div>
#512795 Color on white background
This is how a font and box color of #512795 will look
on a white background.
#512795 Color on black background
This is how a font and box color of #512795 hex color will look
on a black background.