In RGB color space, #5a1e54 hex color has a red value of 90, a green value of 30 and a blue value of 84.
In CMYK color space (used in color printing), #5a1e54 hex color is composed of 0% cyan, 66.67% magenta, 6.67% yellow and 64.71% black.
#5a1e54 color has a hue of 306 degrees, a saturation of 50% and a lightness of 23.5%.
#5a1e54 hex color contains mainly RED.
The closest web safe color of #5a1e54 is #663366
#5a1e54 hex color has a decimal value of 5906004.
HEX | 5a1e54 | #5a1e54 |
---|---|---|
RGB | 90, 30, 84 | rgb(90, 30, 84) |
RGB Percent | 35.29, 11.76, 32.94 | rgb(35.29, 11.76, 32.94) |
CMYK | 0, 67, 7, 65 | |
HSL | 306°, 50, 23.5 | hsl(306, 50%, 23.5%) |
HSV | 306°, 66.7, 35.3 |
XYZ | 6.281, 3.742, 8.779 |
---|---|
Hunter Lab | 19.344, 24.106, -13.367 |
CIE-LAB | 22.799, 34.908, -19.507 |
CIE-LCH | 22.799, 39.989, 330.803 |
CIE-LUV | 0, 66.67, 6.67, 64.71 |
Web Safe | 663366 |
RGB percent of color #5a1e54
CMYK percent of color #5a1e54
Text with hexadecimal color #5a1e54
This text has a font color of #5a1e54
<p style="color:#5a1e54">Text here</p>
#5a1e54 Background Color
This box has a background color of #5a1e54
<div style="background-color:#5a1e54">Text here</div>
#5a1e54 Border Color
This box has a border color of #5a1e54
<div style="border: 4px solid #5a1e54">Text here</div>
CSS codes
<p style="color:#5a1e54">Text here</p>
<div style="background-color:#5a1e54">Text here</div>
<div style="border: 4px solid #5a1e54">Text here</div>
#5a1e54 Color on white background
This is how a font and box color of #5a1e54 will look
on a white background.
#5a1e54 Color on black background
This is how a font and box color of #5a1e54 hex color will look
on a black background.