In RGB color space, #5a1c8d hex color has a red value of 90, a green value of 28 and a blue value of 141.
In CMYK color space (used in color printing), #5a1c8d hex color is composed of 36.17% cyan, 80.14% magenta, 0% yellow and 44.71% black.
#5a1c8d color has a hue of 272.9 degrees, a saturation of 66.86% and a lightness of 33.1%.
#5a1c8d hex color contains mainly BLUE.
The closest web safe color of #5a1c8d is #663399
#5a1c8d hex color has a decimal value of 5905549.
HEX | 5a1c8d | #5a1c8d |
---|---|---|
RGB | 90, 28, 141 | rgb(90, 28, 141) |
RGB Percent | 35.29, 10.98, 55.29 | rgb(35.29, 10.98, 55.29) |
CMYK | 36, 80, 0, 45 | |
HSL | 272.9°, 66.86, 33.1 | hsl(272.9, 66.86%, 33.1%) |
HSV | 272.9°, 80.1, 55.3 |
XYZ | 9.439, 4.927, 25.653 |
---|---|
Hunter Lab | 22.197, 37.061, -52.984 |
CIE-LAB | 26.526, 48.243, -50.205 |
CIE-LCH | 26.526, 69.627, 313.858 |
CIE-LUV | 36.17, 80.14, 0, 44.71 |
Web Safe | 663399 |
RGB percent of color #5a1c8d
CMYK percent of color #5a1c8d
Text with hexadecimal color #5a1c8d
This text has a font color of #5a1c8d
<p style="color:#5a1c8d">Text here</p>
#5a1c8d Background Color
This box has a background color of #5a1c8d
<div style="background-color:#5a1c8d">Text here</div>
#5a1c8d Border Color
This box has a border color of #5a1c8d
<div style="border: 4px solid #5a1c8d">Text here</div>
CSS codes
<p style="color:#5a1c8d">Text here</p>
<div style="background-color:#5a1c8d">Text here</div>
<div style="border: 4px solid #5a1c8d">Text here</div>
#5a1c8d Color on white background
This is how a font and box color of #5a1c8d will look
on a white background.
#5a1c8d Color on black background
This is how a font and box color of #5a1c8d hex color will look
on a black background.