In RGB color space, #5a1e7e hex color has a red value of 90, a green value of 30 and a blue value of 126.
In CMYK color space (used in color printing), #5a1e7e hex color is composed of 28.57% cyan, 76.19% magenta, 0% yellow and 50.59% black.
#5a1e7e color has a hue of 277.5 degrees, a saturation of 61.54% and a lightness of 30.6%.
#5a1e7e hex color contains mainly BLUE.
The closest web safe color of #5a1e7e is #663366
#5a1e7e hex color has a decimal value of 5906046.
HEX | 5a1e7e | #5a1e7e |
---|---|---|
RGB | 90, 30, 126 | rgb(90, 30, 126) |
RGB Percent | 35.29, 11.76, 49.41 | rgb(35.29, 11.76, 49.41) |
CMYK | 29, 76, 0, 51 | |
HSL | 277.5°, 61.54, 30.6 | hsl(277.5, 61.54%, 30.6%) |
HSV | 277.5°, 76.2, 49.4 |
XYZ | 8.447, 4.609, 20.183 |
---|---|
Hunter Lab | 21.469, 32.662, -40.712 |
CIE-LAB | 25.59, 43.861, -42.327 |
CIE-LCH | 25.59, 60.954, 316.02 |
CIE-LUV | 28.57, 76.19, 0, 50.59 |
Web Safe | 663366 |
RGB percent of color #5a1e7e
CMYK percent of color #5a1e7e
Text with hexadecimal color #5a1e7e
This text has a font color of #5a1e7e
<p style="color:#5a1e7e">Text here</p>
#5a1e7e Background Color
This box has a background color of #5a1e7e
<div style="background-color:#5a1e7e">Text here</div>
#5a1e7e Border Color
This box has a border color of #5a1e7e
<div style="border: 4px solid #5a1e7e">Text here</div>
CSS codes
<p style="color:#5a1e7e">Text here</p>
<div style="background-color:#5a1e7e">Text here</div>
<div style="border: 4px solid #5a1e7e">Text here</div>
#5a1e7e Color on white background
This is how a font and box color of #5a1e7e will look
on a white background.
#5a1e7e Color on black background
This is how a font and box color of #5a1e7e hex color will look
on a black background.