In RGB color space, #5a227c hex color has a red value of 90, a green value of 34 and a blue value of 124.
In CMYK color space (used in color printing), #5a227c hex color is composed of 27.42% cyan, 72.58% magenta, 0% yellow and 51.37% black.
#5a227c color has a hue of 277.3 degrees, a saturation of 56.96% and a lightness of 31%.
#5a227c hex color contains mainly BLUE.
The closest web safe color of #5a227c is #663366
#5a227c hex color has a decimal value of 5907068.
HEX | 5a227c | #5a227c |
---|---|---|
RGB | 90, 34, 124 | rgb(90, 34, 124) |
RGB Percent | 35.29, 13.33, 48.63 | rgb(35.29, 13.33, 48.63) |
CMYK | 27, 73, 0, 51 | |
HSL | 277.3°, 56.96, 31 | hsl(277.3, 56.96%, 31%) |
HSV | 277.3°, 72.6, 48.6 |
XYZ | 8.427, 4.773, 19.546 |
---|---|
Hunter Lab | 21.847, 30.619, -37.752 |
CIE-LAB | 26.078, 41.583, -40.274 |
CIE-LCH | 26.078, 57.889, 315.916 |
CIE-LUV | 27.42, 72.58, 0, 51.37 |
Web Safe | 663366 |
RGB percent of color #5a227c
CMYK percent of color #5a227c
Text with hexadecimal color #5a227c
This text has a font color of #5a227c
<p style="color:#5a227c">Text here</p>
#5a227c Background Color
This box has a background color of #5a227c
<div style="background-color:#5a227c">Text here</div>
#5a227c Border Color
This box has a border color of #5a227c
<div style="border: 4px solid #5a227c">Text here</div>
CSS codes
<p style="color:#5a227c">Text here</p>
<div style="background-color:#5a227c">Text here</div>
<div style="border: 4px solid #5a227c">Text here</div>
#5a227c Color on white background
This is how a font and box color of #5a227c will look
on a white background.
#5a227c Color on black background
This is how a font and box color of #5a227c hex color will look
on a black background.