In RGB color space, #5a1e98 hex color has a red value of 90, a green value of 30 and a blue value of 152.
In CMYK color space (used in color printing), #5a1e98 hex color is composed of 40.79% cyan, 80.26% magenta, 0% yellow and 40.39% black.
#5a1e98 color has a hue of 269.5 degrees, a saturation of 67.03% and a lightness of 35.7%.
#5a1e98 hex color contains mainly BLUE.
The closest web safe color of #5a1e98 is #663399
#5a1e98 hex color has a decimal value of 5906072.
HEX | 5a1e98 | #5a1e98 |
---|---|---|
RGB | 90, 30, 152 | rgb(90, 30, 152) |
RGB Percent | 35.29, 11.76, 59.61 | rgb(35.29, 11.76, 59.61) |
CMYK | 41, 80, 0, 40 | |
HSL | 269.5°, 67.03, 35.7 | hsl(269.5, 67.03%, 35.7%) |
HSV | 269.5°, 80.3, 59.6 |
XYZ | 10.348, 5.369, 30.197 |
---|---|
Hunter Lab | 23.171, 39.167, -61.048 |
CIE-LAB | 27.761, 50.124, -54.976 |
CIE-LCH | 27.761, 74.396, 312.357 |
CIE-LUV | 40.79, 80.26, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5a1e98
CMYK percent of color #5a1e98
Text with hexadecimal color #5a1e98
This text has a font color of #5a1e98
<p style="color:#5a1e98">Text here</p>
#5a1e98 Background Color
This box has a background color of #5a1e98
<div style="background-color:#5a1e98">Text here</div>
#5a1e98 Border Color
This box has a border color of #5a1e98
<div style="border: 4px solid #5a1e98">Text here</div>
CSS codes
<p style="color:#5a1e98">Text here</p>
<div style="background-color:#5a1e98">Text here</div>
<div style="border: 4px solid #5a1e98">Text here</div>
#5a1e98 Color on white background
This is how a font and box color of #5a1e98 will look
on a white background.
#5a1e98 Color on black background
This is how a font and box color of #5a1e98 hex color will look
on a black background.