In RGB color space, #5a1e7f hex color has a red value of 90, a green value of 30 and a blue value of 127.
In CMYK color space (used in color printing), #5a1e7f hex color is composed of 29.13% cyan, 76.38% magenta, 0% yellow and 50.2% black.
#5a1e7f color has a hue of 277.1 degrees, a saturation of 61.78% and a lightness of 30.8%.
#5a1e7f hex color contains mainly BLUE.
The closest web safe color of #5a1e7f is #663366
#5a1e7f hex color has a decimal value of 5906047.
HEX | 5a1e7f | #5a1e7f |
---|---|---|
RGB | 90, 30, 127 | rgb(90, 30, 127) |
RGB Percent | 35.29, 11.76, 49.8 | rgb(35.29, 11.76, 49.8) |
CMYK | 29, 76, 0, 50 | |
HSL | 277.1°, 61.78, 30.8 | hsl(277.1, 61.78%, 30.8%) |
HSV | 277.1°, 76.4, 49.8 |
XYZ | 8.511, 4.635, 20.525 |
---|---|
Hunter Lab | 21.529, 32.89, -41.455 |
CIE-LAB | 25.669, 44.087, -42.833 |
CIE-LCH | 25.669, 61.468, 315.827 |
CIE-LUV | 29.13, 76.38, 0, 50.2 |
Web Safe | 663366 |
RGB percent of color #5a1e7f
CMYK percent of color #5a1e7f
Text with hexadecimal color #5a1e7f
This text has a font color of #5a1e7f
<p style="color:#5a1e7f">Text here</p>
#5a1e7f Background Color
This box has a background color of #5a1e7f
<div style="background-color:#5a1e7f">Text here</div>
#5a1e7f Border Color
This box has a border color of #5a1e7f
<div style="border: 4px solid #5a1e7f">Text here</div>
CSS codes
<p style="color:#5a1e7f">Text here</p>
<div style="background-color:#5a1e7f">Text here</div>
<div style="border: 4px solid #5a1e7f">Text here</div>
#5a1e7f Color on white background
This is how a font and box color of #5a1e7f will look
on a white background.
#5a1e7f Color on black background
This is how a font and box color of #5a1e7f hex color will look
on a black background.