In RGB color space, #5a1e97 hex color has a red value of 90, a green value of 30 and a blue value of 151.
In CMYK color space (used in color printing), #5a1e97 hex color is composed of 40.4% cyan, 80.13% magenta, 0% yellow and 40.78% black.
#5a1e97 color has a hue of 269.8 degrees, a saturation of 66.85% and a lightness of 35.5%.
#5a1e97 hex color contains mainly BLUE.
The closest web safe color of #5a1e97 is #663399
#5a1e97 hex color has a decimal value of 5906071.
HEX | 5a1e97 | #5a1e97 |
---|---|---|
RGB | 90, 30, 151 | rgb(90, 30, 151) |
RGB Percent | 35.29, 11.76, 59.22 | rgb(35.29, 11.76, 59.22) |
CMYK | 40, 80, 0, 41 | |
HSL | 269.8°, 66.85, 35.5 | hsl(269.8, 66.85%, 35.5%) |
HSV | 269.8°, 80.1, 59.2 |
XYZ | 10.267, 5.337, 29.767 |
---|---|
Hunter Lab | 23.102, 38.901, -60.224 |
CIE-LAB | 27.674, 49.875, -54.504 |
CIE-LCH | 27.674, 73.88, 312.461 |
CIE-LUV | 40.4, 80.13, 0, 40.78 |
Web Safe | 663399 |
RGB percent of color #5a1e97
CMYK percent of color #5a1e97
Text with hexadecimal color #5a1e97
This text has a font color of #5a1e97
<p style="color:#5a1e97">Text here</p>
#5a1e97 Background Color
This box has a background color of #5a1e97
<div style="background-color:#5a1e97">Text here</div>
#5a1e97 Border Color
This box has a border color of #5a1e97
<div style="border: 4px solid #5a1e97">Text here</div>
CSS codes
<p style="color:#5a1e97">Text here</p>
<div style="background-color:#5a1e97">Text here</div>
<div style="border: 4px solid #5a1e97">Text here</div>
#5a1e97 Color on white background
This is how a font and box color of #5a1e97 will look
on a white background.
#5a1e97 Color on black background
This is how a font and box color of #5a1e97 hex color will look
on a black background.