In RGB color space, #5a1c97 hex color has a red value of 90, a green value of 28 and a blue value of 151.
In CMYK color space (used in color printing), #5a1c97 hex color is composed of 40.4% cyan, 81.46% magenta, 0% yellow and 40.78% black.
#5a1c97 color has a hue of 270.2 degrees, a saturation of 68.72% and a lightness of 35.1%.
#5a1c97 hex color contains mainly BLUE.
The closest web safe color of #5a1c97 is #663399
#5a1c97 hex color has a decimal value of 5905559.
HEX | 5a1c97 | #5a1c97 |
---|---|---|
RGB | 90, 28, 151 | rgb(90, 28, 151) |
RGB Percent | 35.29, 10.98, 59.22 | rgb(35.29, 10.98, 59.22) |
CMYK | 40, 81, 0, 41 | |
HSL | 270.2°, 68.72, 35.1 | hsl(270.2, 68.72%, 35.1%) |
HSV | 270.2°, 81.5, 59.2 |
XYZ | 10.218, 5.239, 29.751 |
---|---|
Hunter Lab | 22.889, 39.63, -61.043 |
CIE-LAB | 27.405, 50.655, -54.944 |
CIE-LCH | 27.405, 74.731, 312.674 |
CIE-LUV | 40.4, 81.46, 0, 40.78 |
Web Safe | 663399 |
RGB percent of color #5a1c97
CMYK percent of color #5a1c97
Text with hexadecimal color #5a1c97
This text has a font color of #5a1c97
<p style="color:#5a1c97">Text here</p>
#5a1c97 Background Color
This box has a background color of #5a1c97
<div style="background-color:#5a1c97">Text here</div>
#5a1c97 Border Color
This box has a border color of #5a1c97
<div style="border: 4px solid #5a1c97">Text here</div>
CSS codes
<p style="color:#5a1c97">Text here</p>
<div style="background-color:#5a1c97">Text here</div>
<div style="border: 4px solid #5a1c97">Text here</div>
#5a1c97 Color on white background
This is how a font and box color of #5a1c97 will look
on a white background.
#5a1c97 Color on black background
This is how a font and box color of #5a1c97 hex color will look
on a black background.