In RGB color space, #5a1a97 hex color has a red value of 90, a green value of 26 and a blue value of 151.
In CMYK color space (used in color printing), #5a1a97 hex color is composed of 40.4% cyan, 82.78% magenta, 0% yellow and 40.78% black.
#5a1a97 color has a hue of 270.7 degrees, a saturation of 70.62% and a lightness of 34.7%.
#5a1a97 hex color contains mainly BLUE.
The closest web safe color of #5a1a97 is #663399
#5a1a97 hex color has a decimal value of 5905047.
HEX | 5a1a97 | #5a1a97 |
---|---|---|
RGB | 90, 26, 151 | rgb(90, 26, 151) |
RGB Percent | 35.29, 10.2, 59.22 | rgb(35.29, 10.2, 59.22) |
CMYK | 40, 83, 0, 41 | |
HSL | 270.7°, 70.62, 34.7 | hsl(270.7, 70.62%, 34.7%) |
HSV | 270.7°, 82.8, 59.2 |
XYZ | 10.172, 5.147, 29.735 |
---|---|
Hunter Lab | 22.687, 40.33, -61.828 |
CIE-LAB | 27.15, 51.399, -55.362 |
CIE-LCH | 27.15, 75.543, 312.874 |
CIE-LUV | 40.4, 82.78, 0, 40.78 |
Web Safe | 663399 |
RGB percent of color #5a1a97
CMYK percent of color #5a1a97
Text with hexadecimal color #5a1a97
This text has a font color of #5a1a97
<p style="color:#5a1a97">Text here</p>
#5a1a97 Background Color
This box has a background color of #5a1a97
<div style="background-color:#5a1a97">Text here</div>
#5a1a97 Border Color
This box has a border color of #5a1a97
<div style="border: 4px solid #5a1a97">Text here</div>
CSS codes
<p style="color:#5a1a97">Text here</p>
<div style="background-color:#5a1a97">Text here</div>
<div style="border: 4px solid #5a1a97">Text here</div>
#5a1a97 Color on white background
This is how a font and box color of #5a1a97 will look
on a white background.
#5a1a97 Color on black background
This is how a font and box color of #5a1a97 hex color will look
on a black background.