In RGB color space, #5a1a71 hex color has a red value of 90, a green value of 26 and a blue value of 113.
In CMYK color space (used in color printing), #5a1a71 hex color is composed of 20.35% cyan, 76.99% magenta, 0% yellow and 55.69% black.
#5a1a71 color has a hue of 284.1 degrees, a saturation of 62.59% and a lightness of 27.3%.
#5a1a71 hex color contains mainly BLUE.
The closest web safe color of #5a1a71 is #663366
#5a1a71 hex color has a decimal value of 5905009.
HEX | 5a1a71 | #5a1a71 |
---|---|---|
RGB | 90, 26, 113 | rgb(90, 26, 113) |
RGB Percent | 35.29, 10.2, 44.31 | rgb(35.29, 10.2, 44.31) |
CMYK | 20, 77, 0, 56 | |
HSL | 284.1°, 62.59, 27.3 | hsl(284.1, 62.59%, 27.3%) |
HSV | 284.1°, 77, 44.3 |
XYZ | 7.566, 4.105, 16.016 |
---|---|
Hunter Lab | 20.261, 31.201, -32.686 |
CIE-LAB | 24.016, 42.605, -36.583 |
CIE-LCH | 24.016, 56.156, 319.349 |
CIE-LUV | 20.35, 76.99, 0, 55.69 |
Web Safe | 663366 |
RGB percent of color #5a1a71
CMYK percent of color #5a1a71
Text with hexadecimal color #5a1a71
This text has a font color of #5a1a71
<p style="color:#5a1a71">Text here</p>
#5a1a71 Background Color
This box has a background color of #5a1a71
<div style="background-color:#5a1a71">Text here</div>
#5a1a71 Border Color
This box has a border color of #5a1a71
<div style="border: 4px solid #5a1a71">Text here</div>
CSS codes
<p style="color:#5a1a71">Text here</p>
<div style="background-color:#5a1a71">Text here</div>
<div style="border: 4px solid #5a1a71">Text here</div>
#5a1a71 Color on white background
This is how a font and box color of #5a1a71 will look
on a white background.
#5a1a71 Color on black background
This is how a font and box color of #5a1a71 hex color will look
on a black background.