In RGB color space, #512396 hex color has a red value of 81, a green value of 35 and a blue value of 150.
In CMYK color space (used in color printing), #512396 hex color is composed of 46% cyan, 76.67% magenta, 0% yellow and 41.18% black.
#512396 color has a hue of 264 degrees, a saturation of 62.16% and a lightness of 36.3%.
#512396 hex color contains mainly BLUE.
The closest web safe color of #512396 is #663399
#512396 hex color has a decimal value of 5317526.
HEX | 512396 | #512396 |
---|---|---|
RGB | 81, 35, 150 | rgb(81, 35, 150) |
RGB Percent | 31.76, 13.73, 58.82 | rgb(31.76, 13.73, 58.82) |
CMYK | 46, 77, 0, 41 | |
HSL | 264°, 62.16, 36.3 | hsl(264, 62.16%, 36.3%) |
HSV | 264°, 76.7, 58.8 |
XYZ | 9.499, 5.153, 29.348 |
---|---|
Hunter Lab | 22.7, 34.969, -60.763 |
CIE-LAB | 27.166, 45.971, -54.768 |
CIE-LCH | 27.166, 71.504, 310.009 |
CIE-LUV | 46, 76.67, 0, 41.18 |
Web Safe | 663399 |
RGB percent of color #512396
CMYK percent of color #512396
Text with hexadecimal color #512396
This text has a font color of #512396
<p style="color:#512396">Text here</p>
#512396 Background Color
This box has a background color of #512396
<div style="background-color:#512396">Text here</div>
#512396 Border Color
This box has a border color of #512396
<div style="border: 4px solid #512396">Text here</div>
CSS codes
<p style="color:#512396">Text here</p>
<div style="background-color:#512396">Text here</div>
<div style="border: 4px solid #512396">Text here</div>
#512396 Color on white background
This is how a font and box color of #512396 will look
on a white background.
#512396 Color on black background
This is how a font and box color of #512396 hex color will look
on a black background.