In RGB color space, #5a1d8d hex color has a red value of 90, a green value of 29 and a blue value of 141.
In CMYK color space (used in color printing), #5a1d8d hex color is composed of 36.17% cyan, 79.43% magenta, 0% yellow and 44.71% black.
#5a1d8d color has a hue of 272.7 degrees, a saturation of 65.88% and a lightness of 33.3%.
#5a1d8d hex color contains mainly BLUE.
The closest web safe color of #5a1d8d is #663399
#5a1d8d hex color has a decimal value of 5905805.
HEX | 5a1d8d | #5a1d8d |
---|---|---|
RGB | 90, 29, 141 | rgb(90, 29, 141) |
RGB Percent | 35.29, 11.37, 55.29 | rgb(35.29, 11.37, 55.29) |
CMYK | 36, 79, 0, 45 | |
HSL | 272.7°, 65.88, 33.3 | hsl(272.7, 65.88%, 33.3%) |
HSV | 272.7°, 79.4, 55.3 |
XYZ | 9.464, 4.975, 25.661 |
---|---|
Hunter Lab | 22.305, 36.705, -52.598 |
CIE-LAB | 26.663, 47.854, -49.981 |
CIE-LCH | 26.663, 69.196, 313.755 |
CIE-LUV | 36.17, 79.43, 0, 44.71 |
Web Safe | 663399 |
RGB percent of color #5a1d8d
CMYK percent of color #5a1d8d
Text with hexadecimal color #5a1d8d
This text has a font color of #5a1d8d
<p style="color:#5a1d8d">Text here</p>
#5a1d8d Background Color
This box has a background color of #5a1d8d
<div style="background-color:#5a1d8d">Text here</div>
#5a1d8d Border Color
This box has a border color of #5a1d8d
<div style="border: 4px solid #5a1d8d">Text here</div>
CSS codes
<p style="color:#5a1d8d">Text here</p>
<div style="background-color:#5a1d8d">Text here</div>
<div style="border: 4px solid #5a1d8d">Text here</div>
#5a1d8d Color on white background
This is how a font and box color of #5a1d8d will look
on a white background.
#5a1d8d Color on black background
This is how a font and box color of #5a1d8d hex color will look
on a black background.