In RGB color space, #5a0c6c hex color has a red value of 90, a green value of 12 and a blue value of 108.
In CMYK color space (used in color printing), #5a0c6c hex color is composed of 16.67% cyan, 88.89% magenta, 0% yellow and 57.65% black.
#5a0c6c color has a hue of 288.8 degrees, a saturation of 80% and a lightness of 23.5%.
#5a0c6c hex color contains mainly BLUE.
The closest web safe color of #5a0c6c is #660066
#5a0c6c hex color has a decimal value of 5901420.
HEX | 5a0c6c | #5a0c6c |
---|---|---|
RGB | 90, 12, 108 | rgb(90, 12, 108) |
RGB Percent | 35.29, 4.71, 42.35 | rgb(35.29, 4.71, 42.35) |
CMYK | 17, 89, 0, 58 | |
HSL | 288.8°, 80, 23.5 | hsl(288.8, 80%, 23.5%) |
HSV | 288.8°, 88.9, 42.4 |
XYZ | 7.055, 3.519, 14.495 |
---|---|
Hunter Lab | 18.759, 34.303, -32.682 |
CIE-LAB | 22.013, 46.282, -36.582 |
CIE-LCH | 22.013, 58.994, 321.677 |
CIE-LUV | 16.67, 88.89, 0, 57.65 |
Web Safe | 660066 |
RGB percent of color #5a0c6c
CMYK percent of color #5a0c6c
Text with hexadecimal color #5a0c6c
This text has a font color of #5a0c6c
<p style="color:#5a0c6c">Text here</p>
#5a0c6c Background Color
This box has a background color of #5a0c6c
<div style="background-color:#5a0c6c">Text here</div>
#5a0c6c Border Color
This box has a border color of #5a0c6c
<div style="border: 4px solid #5a0c6c">Text here</div>
CSS codes
<p style="color:#5a0c6c">Text here</p>
<div style="background-color:#5a0c6c">Text here</div>
<div style="border: 4px solid #5a0c6c">Text here</div>
#5a0c6c Color on white background
This is how a font and box color of #5a0c6c will look
on a white background.
#5a0c6c Color on black background
This is how a font and box color of #5a0c6c hex color will look
on a black background.