In RGB color space, #5a1a81 hex color has a red value of 90, a green value of 26 and a blue value of 129.
In CMYK color space (used in color printing), #5a1a81 hex color is composed of 30.23% cyan, 79.84% magenta, 0% yellow and 49.41% black.
#5a1a81 color has a hue of 277.3 degrees, a saturation of 66.45% and a lightness of 30.4%.
#5a1a81 hex color contains mainly BLUE.
The closest web safe color of #5a1a81 is #663399
#5a1a81 hex color has a decimal value of 5905025.
HEX | 5a1a81 | #5a1a81 |
---|---|---|
RGB | 90, 26, 129 | rgb(90, 26, 129) |
RGB Percent | 35.29, 10.2, 50.59 | rgb(35.29, 10.2, 50.59) |
CMYK | 30, 80, 0, 49 | |
HSL | 277.3°, 66.45, 30.4 | hsl(277.3, 66.45%, 30.4%) |
HSV | 277.3°, 79.8, 50.6 |
XYZ | 8.548, 4.497, 21.186 |
---|---|
Hunter Lab | 21.206, 34.841, -44.389 |
CIE-LAB | 25.251, 46.211, -44.772 |
CIE-LCH | 25.251, 64.343, 315.906 |
CIE-LUV | 30.23, 79.84, 0, 49.41 |
Web Safe | 663399 |
RGB percent of color #5a1a81
CMYK percent of color #5a1a81
Text with hexadecimal color #5a1a81
This text has a font color of #5a1a81
<p style="color:#5a1a81">Text here</p>
#5a1a81 Background Color
This box has a background color of #5a1a81
<div style="background-color:#5a1a81">Text here</div>
#5a1a81 Border Color
This box has a border color of #5a1a81
<div style="border: 4px solid #5a1a81">Text here</div>
CSS codes
<p style="color:#5a1a81">Text here</p>
<div style="background-color:#5a1a81">Text here</div>
<div style="border: 4px solid #5a1a81">Text here</div>
#5a1a81 Color on white background
This is how a font and box color of #5a1a81 will look
on a white background.
#5a1a81 Color on black background
This is how a font and box color of #5a1a81 hex color will look
on a black background.