In RGB color space, #5a1e8a hex color has a red value of 90, a green value of 30 and a blue value of 138.
In CMYK color space (used in color printing), #5a1e8a hex color is composed of 34.78% cyan, 78.26% magenta, 0% yellow and 45.88% black.
#5a1e8a color has a hue of 273.3 degrees, a saturation of 64.29% and a lightness of 32.9%.
#5a1e8a hex color contains mainly BLUE.
The closest web safe color of #5a1e8a is #663399
#5a1e8a hex color has a decimal value of 5906058.
HEX | 5a1e8a | #5a1e8a |
---|---|---|
RGB | 90, 30, 138 | rgb(90, 30, 138) |
RGB Percent | 35.29, 11.76, 54.12 | rgb(35.29, 11.76, 54.12) |
CMYK | 35, 78, 0, 46 | |
HSL | 273.3°, 64.29, 32.9 | hsl(273.3, 64.29%, 32.9%) |
HSV | 273.3°, 78.3, 54.1 |
XYZ | 9.268, 4.937, 24.509 |
---|---|
Hunter Lab | 22.219, 35.571, -49.846 |
CIE-LAB | 26.555, 46.712, -48.291 |
CIE-LCH | 26.555, 67.187, 314.048 |
CIE-LUV | 34.78, 78.26, 0, 45.88 |
Web Safe | 663399 |
RGB percent of color #5a1e8a
CMYK percent of color #5a1e8a
Text with hexadecimal color #5a1e8a
This text has a font color of #5a1e8a
<p style="color:#5a1e8a">Text here</p>
#5a1e8a Background Color
This box has a background color of #5a1e8a
<div style="background-color:#5a1e8a">Text here</div>
#5a1e8a Border Color
This box has a border color of #5a1e8a
<div style="border: 4px solid #5a1e8a">Text here</div>
CSS codes
<p style="color:#5a1e8a">Text here</p>
<div style="background-color:#5a1e8a">Text here</div>
<div style="border: 4px solid #5a1e8a">Text here</div>
#5a1e8a Color on white background
This is how a font and box color of #5a1e8a will look
on a white background.
#5a1e8a Color on black background
This is how a font and box color of #5a1e8a hex color will look
on a black background.