In RGB color space, #5a0c7b hex color has a red value of 90, a green value of 12 and a blue value of 123.
In CMYK color space (used in color printing), #5a0c7b hex color is composed of 26.83% cyan, 90.24% magenta, 0% yellow and 51.76% black.
#5a0c7b color has a hue of 282.2 degrees, a saturation of 82.22% and a lightness of 26.5%.
#5a0c7b hex color contains mainly BLUE.
The closest web safe color of #5a0c7b is #660066
#5a0c7b hex color has a decimal value of 5901435.
HEX | 5a0c7b | #5a0c7b |
---|---|---|
RGB | 90, 12, 123 | rgb(90, 12, 123) |
RGB Percent | 35.29, 4.71, 48.24 | rgb(35.29, 4.71, 48.24) |
CMYK | 27, 90, 0, 52 | |
HSL | 282.2°, 82.22, 26.5 | hsl(282.2, 82.22%, 26.5%) |
HSV | 282.2°, 90.2, 48.2 |
XYZ | 7.923, 3.867, 19.068 |
---|---|
Hunter Lab | 19.665, 37.505, -43.726 |
CIE-LAB | 23.227, 49.336, -44.263 |
CIE-LCH | 23.227, 66.282, 318.102 |
CIE-LUV | 26.83, 90.24, 0, 51.76 |
Web Safe | 660066 |
RGB percent of color #5a0c7b
CMYK percent of color #5a0c7b
Text with hexadecimal color #5a0c7b
This text has a font color of #5a0c7b
<p style="color:#5a0c7b">Text here</p>
#5a0c7b Background Color
This box has a background color of #5a0c7b
<div style="background-color:#5a0c7b">Text here</div>
#5a0c7b Border Color
This box has a border color of #5a0c7b
<div style="border: 4px solid #5a0c7b">Text here</div>
CSS codes
<p style="color:#5a0c7b">Text here</p>
<div style="background-color:#5a0c7b">Text here</div>
<div style="border: 4px solid #5a0c7b">Text here</div>
#5a0c7b Color on white background
This is how a font and box color of #5a0c7b will look
on a white background.
#5a0c7b Color on black background
This is how a font and box color of #5a0c7b hex color will look
on a black background.