In RGB color space, #5a0c96 hex color has a red value of 90, a green value of 12 and a blue value of 150.
In CMYK color space (used in color printing), #5a0c96 hex color is composed of 40% cyan, 92% magenta, 0% yellow and 41.18% black.
#5a0c96 color has a hue of 273.9 degrees, a saturation of 85.19% and a lightness of 31.8%.
#5a0c96 hex color contains mainly BLUE.
The closest web safe color of #5a0c96 is #660099
#5a0c96 hex color has a decimal value of 5901462.
HEX | 5a0c96 | #5a0c96 |
---|---|---|
RGB | 90, 12, 150 | rgb(90, 12, 150) |
RGB Percent | 35.29, 4.71, 58.82 | rgb(35.29, 4.71, 58.82) |
CMYK | 40, 92, 0, 41 | |
HSL | 273.9°, 85.19, 31.8 | hsl(273.9, 85.19%, 31.8%) |
HSV | 273.9°, 92, 58.8 |
XYZ | 9.853, 4.639, 29.23 |
---|---|
Hunter Lab | 21.538, 43.965, -65.387 |
CIE-LAB | 25.68, 55.223, -57.156 |
CIE-LCH | 25.68, 79.476, 314.015 |
CIE-LUV | 40, 92, 0, 41.18 |
Web Safe | 660099 |
RGB percent of color #5a0c96
CMYK percent of color #5a0c96
Text with hexadecimal color #5a0c96
This text has a font color of #5a0c96
<p style="color:#5a0c96">Text here</p>
#5a0c96 Background Color
This box has a background color of #5a0c96
<div style="background-color:#5a0c96">Text here</div>
#5a0c96 Border Color
This box has a border color of #5a0c96
<div style="border: 4px solid #5a0c96">Text here</div>
CSS codes
<p style="color:#5a0c96">Text here</p>
<div style="background-color:#5a0c96">Text here</div>
<div style="border: 4px solid #5a0c96">Text here</div>
#5a0c96 Color on white background
This is how a font and box color of #5a0c96 will look
on a white background.
#5a0c96 Color on black background
This is how a font and box color of #5a0c96 hex color will look
on a black background.