In RGB color space, #5a2877 hex color has a red value of 90, a green value of 40 and a blue value of 119.
In CMYK color space (used in color printing), #5a2877 hex color is composed of 24.37% cyan, 66.39% magenta, 0% yellow and 53.33% black.
#5a2877 color has a hue of 278 degrees, a saturation of 49.69% and a lightness of 31.2%.
#5a2877 hex color contains mainly BLUE.
The closest web safe color of #5a2877 is #663366
#5a2877 hex color has a decimal value of 5908599.
HEX | 5a2877 | #5a2877 |
---|---|---|
RGB | 90, 40, 119 | rgb(90, 40, 119) |
RGB Percent | 35.29, 15.69, 46.67 | rgb(35.29, 15.69, 46.67) |
CMYK | 24, 66, 0, 53 | |
HSL | 278°, 49.69, 31.2 | hsl(278, 49.69%, 31.2%) |
HSV | 278°, 66.4, 46.7 |
XYZ | 8.305, 5.023, 17.985 |
---|---|
Hunter Lab | 22.412, 26.924, -31.89 |
CIE-LAB | 26.8, 37.389, -35.942 |
CIE-LCH | 26.8, 51.863, 316.13 |
CIE-LUV | 24.37, 66.39, 0, 53.33 |
Web Safe | 663366 |
RGB percent of color #5a2877
CMYK percent of color #5a2877
Text with hexadecimal color #5a2877
This text has a font color of #5a2877
<p style="color:#5a2877">Text here</p>
#5a2877 Background Color
This box has a background color of #5a2877
<div style="background-color:#5a2877">Text here</div>
#5a2877 Border Color
This box has a border color of #5a2877
<div style="border: 4px solid #5a2877">Text here</div>
CSS codes
<p style="color:#5a2877">Text here</p>
<div style="background-color:#5a2877">Text here</div>
<div style="border: 4px solid #5a2877">Text here</div>
#5a2877 Color on white background
This is how a font and box color of #5a2877 will look
on a white background.
#5a2877 Color on black background
This is how a font and box color of #5a2877 hex color will look
on a black background.