In RGB color space, #5a2878 hex color has a red value of 90, a green value of 40 and a blue value of 120.
In CMYK color space (used in color printing), #5a2878 hex color is composed of 25% cyan, 66.67% magenta, 0% yellow and 52.94% black.
#5a2878 color has a hue of 277.5 degrees, a saturation of 50% and a lightness of 31.4%.
#5a2878 hex color contains mainly BLUE.
The closest web safe color of #5a2878 is #663366
#5a2878 hex color has a decimal value of 5908600.
HEX | 5a2878 | #5a2878 |
---|---|---|
RGB | 90, 40, 120 | rgb(90, 40, 120) |
RGB Percent | 35.29, 15.69, 47.06 | rgb(35.29, 15.69, 47.06) |
CMYK | 25, 67, 0, 53 | |
HSL | 277.5°, 50, 31.4 | hsl(277.5, 50%, 31.4%) |
HSV | 277.5°, 66.7, 47.1 |
XYZ | 8.365, 5.047, 18.303 |
---|---|
Hunter Lab | 22.466, 27.149, -32.579 |
CIE-LAB | 26.868, 37.629, -36.468 |
CIE-LCH | 26.868, 52.401, 315.898 |
CIE-LUV | 25, 66.67, 0, 52.94 |
Web Safe | 663366 |
RGB percent of color #5a2878
CMYK percent of color #5a2878
Text with hexadecimal color #5a2878
This text has a font color of #5a2878
<p style="color:#5a2878">Text here</p>
#5a2878 Background Color
This box has a background color of #5a2878
<div style="background-color:#5a2878">Text here</div>
#5a2878 Border Color
This box has a border color of #5a2878
<div style="border: 4px solid #5a2878">Text here</div>
CSS codes
<p style="color:#5a2878">Text here</p>
<div style="background-color:#5a2878">Text here</div>
<div style="border: 4px solid #5a2878">Text here</div>
#5a2878 Color on white background
This is how a font and box color of #5a2878 will look
on a white background.
#5a2878 Color on black background
This is how a font and box color of #5a2878 hex color will look
on a black background.