In RGB color space, #5a1b8e hex color has a red value of 90, a green value of 27 and a blue value of 142.
In CMYK color space (used in color printing), #5a1b8e hex color is composed of 36.62% cyan, 80.99% magenta, 0% yellow and 44.31% black.
#5a1b8e color has a hue of 272.9 degrees, a saturation of 68.05% and a lightness of 33.1%.
#5a1b8e hex color contains mainly BLUE.
The closest web safe color of #5a1b8e is #663399
#5a1b8e hex color has a decimal value of 5905294.
HEX | 5a1b8e | #5a1b8e |
---|---|---|
RGB | 90, 27, 142 | rgb(90, 27, 142) |
RGB Percent | 35.29, 10.59, 55.69 | rgb(35.29, 10.59, 55.69) |
CMYK | 37, 81, 0, 44 | |
HSL | 272.9°, 68.05, 33.1 | hsl(272.9, 68.05%, 33.1%) |
HSV | 272.9°, 81, 55.7 |
XYZ | 9.491, 4.911, 26.039 |
---|---|
Hunter Lab | 22.161, 37.666, -54.153 |
CIE-LAB | 26.48, 48.866, -50.901 |
CIE-LCH | 26.48, 70.561, 313.831 |
CIE-LUV | 36.62, 80.99, 0, 44.31 |
Web Safe | 663399 |
RGB percent of color #5a1b8e
CMYK percent of color #5a1b8e
Text with hexadecimal color #5a1b8e
This text has a font color of #5a1b8e
<p style="color:#5a1b8e">Text here</p>
#5a1b8e Background Color
This box has a background color of #5a1b8e
<div style="background-color:#5a1b8e">Text here</div>
#5a1b8e Border Color
This box has a border color of #5a1b8e
<div style="border: 4px solid #5a1b8e">Text here</div>
CSS codes
<p style="color:#5a1b8e">Text here</p>
<div style="background-color:#5a1b8e">Text here</div>
<div style="border: 4px solid #5a1b8e">Text here</div>
#5a1b8e Color on white background
This is how a font and box color of #5a1b8e will look
on a white background.
#5a1b8e Color on black background
This is how a font and box color of #5a1b8e hex color will look
on a black background.