In RGB color space, #5a0c97 hex color has a red value of 90, a green value of 12 and a blue value of 151.
In CMYK color space (used in color printing), #5a0c97 hex color is composed of 40.4% cyan, 92.05% magenta, 0% yellow and 40.78% black.
#5a0c97 color has a hue of 273.7 degrees, a saturation of 85.28% and a lightness of 32%.
#5a0c97 hex color contains mainly BLUE.
The closest web safe color of #5a0c97 is #660099
#5a0c97 hex color has a decimal value of 5901463.
HEX | 5a0c97 | #5a0c97 |
---|---|---|
RGB | 90, 12, 151 | rgb(90, 12, 151) |
RGB Percent | 35.29, 4.71, 59.22 | rgb(35.29, 4.71, 59.22) |
CMYK | 40, 92, 0, 41 | |
HSL | 273.7°, 85.28, 32 | hsl(273.7, 85.28%, 32%) |
HSV | 273.7°, 92.1, 59.2 |
XYZ | 9.934, 4.671, 29.656 |
---|---|
Hunter Lab | 21.612, 44.224, -66.227 |
CIE-LAB | 25.776, 55.453, -57.615 |
CIE-LCH | 25.776, 79.966, 313.905 |
CIE-LUV | 40.4, 92.05, 0, 40.78 |
Web Safe | 660099 |
RGB percent of color #5a0c97
CMYK percent of color #5a0c97
Text with hexadecimal color #5a0c97
This text has a font color of #5a0c97
<p style="color:#5a0c97">Text here</p>
#5a0c97 Background Color
This box has a background color of #5a0c97
<div style="background-color:#5a0c97">Text here</div>
#5a0c97 Border Color
This box has a border color of #5a0c97
<div style="border: 4px solid #5a0c97">Text here</div>
CSS codes
<p style="color:#5a0c97">Text here</p>
<div style="background-color:#5a0c97">Text here</div>
<div style="border: 4px solid #5a0c97">Text here</div>
#5a0c97 Color on white background
This is how a font and box color of #5a0c97 will look
on a white background.
#5a0c97 Color on black background
This is how a font and box color of #5a0c97 hex color will look
on a black background.