In RGB color space, #5a1c8c hex color has a red value of 90, a green value of 28 and a blue value of 140.
In CMYK color space (used in color printing), #5a1c8c hex color is composed of 35.71% cyan, 80% magenta, 0% yellow and 45.1% black.
#5a1c8c color has a hue of 273.2 degrees, a saturation of 66.67% and a lightness of 32.9%.
#5a1c8c hex color contains mainly BLUE.
The closest web safe color of #5a1c8c is #663399
#5a1c8c hex color has a decimal value of 5905548.
HEX | 5a1c8c | #5a1c8c |
---|---|---|
RGB | 90, 28, 140 | rgb(90, 28, 140) |
RGB Percent | 35.29, 10.98, 54.9 | rgb(35.29, 10.98, 54.9) |
CMYK | 36, 80, 0, 45 | |
HSL | 273.2°, 66.67, 32.9 | hsl(273.2, 66.67%, 32.9%) |
HSV | 273.2°, 80, 54.9 |
XYZ | 9.365, 4.898, 25.263 |
---|---|
Hunter Lab | 22.131, 36.803, -52.187 |
CIE-LAB | 26.442, 47.996, -49.72 |
CIE-LCH | 26.442, 69.106, 313.989 |
CIE-LUV | 35.71, 80, 0, 45.1 |
Web Safe | 663399 |
RGB percent of color #5a1c8c
CMYK percent of color #5a1c8c
Text with hexadecimal color #5a1c8c
This text has a font color of #5a1c8c
<p style="color:#5a1c8c">Text here</p>
#5a1c8c Background Color
This box has a background color of #5a1c8c
<div style="background-color:#5a1c8c">Text here</div>
#5a1c8c Border Color
This box has a border color of #5a1c8c
<div style="border: 4px solid #5a1c8c">Text here</div>
CSS codes
<p style="color:#5a1c8c">Text here</p>
<div style="background-color:#5a1c8c">Text here</div>
<div style="border: 4px solid #5a1c8c">Text here</div>
#5a1c8c Color on white background
This is how a font and box color of #5a1c8c will look
on a white background.
#5a1c8c Color on black background
This is how a font and box color of #5a1c8c hex color will look
on a black background.