In RGB color space, #5a2889 hex color has a red value of 90, a green value of 40 and a blue value of 137.
In CMYK color space (used in color printing), #5a2889 hex color is composed of 34.31% cyan, 70.8% magenta, 0% yellow and 46.27% black.
#5a2889 color has a hue of 270.9 degrees, a saturation of 54.8% and a lightness of 34.7%.
#5a2889 hex color contains mainly BLUE.
The closest web safe color of #5a2889 is #663399
#5a2889 hex color has a decimal value of 5908617.
HEX | 5a2889 | #5a2889 |
---|---|---|
RGB | 90, 40, 137 | rgb(90, 40, 137) |
RGB Percent | 35.29, 15.69, 53.73 | rgb(35.29, 15.69, 53.73) |
CMYK | 34, 71, 0, 46 | |
HSL | 270.9°, 54.8, 34.7 | hsl(270.9, 54.8%, 34.7%) |
HSV | 270.9°, 70.8, 53.7 |
XYZ | 9.491, 5.497, 24.228 |
---|---|
Hunter Lab | 23.446, 31.228, -44.856 |
CIE-LAB | 28.106, 41.855, -45.149 |
CIE-LCH | 28.106, 61.565, 312.832 |
CIE-LUV | 34.31, 70.8, 0, 46.27 |
Web Safe | 663399 |
RGB percent of color #5a2889
CMYK percent of color #5a2889
Text with hexadecimal color #5a2889
This text has a font color of #5a2889
<p style="color:#5a2889">Text here</p>
#5a2889 Background Color
This box has a background color of #5a2889
<div style="background-color:#5a2889">Text here</div>
#5a2889 Border Color
This box has a border color of #5a2889
<div style="border: 4px solid #5a2889">Text here</div>
CSS codes
<p style="color:#5a2889">Text here</p>
<div style="background-color:#5a2889">Text here</div>
<div style="border: 4px solid #5a2889">Text here</div>
#5a2889 Color on white background
This is how a font and box color of #5a2889 will look
on a white background.
#5a2889 Color on black background
This is how a font and box color of #5a2889 hex color will look
on a black background.