In RGB color space, #5a1d7a hex color has a red value of 90, a green value of 29 and a blue value of 122.
In CMYK color space (used in color printing), #5a1d7a hex color is composed of 26.23% cyan, 76.23% magenta, 0% yellow and 52.16% black.
#5a1d7a color has a hue of 279.4 degrees, a saturation of 61.59% and a lightness of 29.6%.
#5a1d7a hex color contains mainly BLUE.
The closest web safe color of #5a1d7a is #663366
#5a1d7a hex color has a decimal value of 5905786.
HEX | 5a1d7a | #5a1d7a |
---|---|---|
RGB | 90, 29, 122 | rgb(90, 29, 122) |
RGB Percent | 35.29, 11.37, 47.84 | rgb(35.29, 11.37, 47.84) |
CMYK | 26, 76, 0, 52 | |
HSL | 279.4°, 61.59, 29.6 | hsl(279.4, 61.59%, 29.6%) |
HSV | 279.4°, 76.2, 47.8 |
XYZ | 8.169, 4.458, 18.842 |
---|---|
Hunter Lab | 21.114, 32.112, -38.13 |
CIE-LAB | 25.131, 43.365, -40.536 |
CIE-LCH | 25.131, 59.361, 316.931 |
CIE-LUV | 26.23, 76.23, 0, 52.16 |
Web Safe | 663366 |
RGB percent of color #5a1d7a
CMYK percent of color #5a1d7a
Text with hexadecimal color #5a1d7a
This text has a font color of #5a1d7a
<p style="color:#5a1d7a">Text here</p>
#5a1d7a Background Color
This box has a background color of #5a1d7a
<div style="background-color:#5a1d7a">Text here</div>
#5a1d7a Border Color
This box has a border color of #5a1d7a
<div style="border: 4px solid #5a1d7a">Text here</div>
CSS codes
<p style="color:#5a1d7a">Text here</p>
<div style="background-color:#5a1d7a">Text here</div>
<div style="border: 4px solid #5a1d7a">Text here</div>
#5a1d7a Color on white background
This is how a font and box color of #5a1d7a will look
on a white background.
#5a1d7a Color on black background
This is how a font and box color of #5a1d7a hex color will look
on a black background.