In RGB color space, #5a227f hex color has a red value of 90, a green value of 34 and a blue value of 127.
In CMYK color space (used in color printing), #5a227f hex color is composed of 29.13% cyan, 73.23% magenta, 0% yellow and 50.2% black.
#5a227f color has a hue of 276.1 degrees, a saturation of 57.76% and a lightness of 31.6%.
#5a227f hex color contains mainly BLUE.
The closest web safe color of #5a227f is #663366
#5a227f hex color has a decimal value of 5907071.
HEX | 5a227f | #5a227f |
---|---|---|
RGB | 90, 34, 127 | rgb(90, 34, 127) |
RGB Percent | 35.29, 13.33, 49.8 | rgb(35.29, 13.33, 49.8) |
CMYK | 29, 73, 0, 50 | |
HSL | 276.1°, 57.76, 31.6 | hsl(276.1, 57.76%, 31.6%) |
HSV | 276.1°, 73.2, 49.8 |
XYZ | 8.619, 4.85, 20.561 |
---|---|
Hunter Lab | 22.023, 31.32, -39.939 |
CIE-LAB | 26.303, 42.294, -41.806 |
CIE-LCH | 26.303, 59.469, 315.332 |
CIE-LUV | 29.13, 73.23, 0, 50.2 |
Web Safe | 663366 |
RGB percent of color #5a227f
CMYK percent of color #5a227f
Text with hexadecimal color #5a227f
This text has a font color of #5a227f
<p style="color:#5a227f">Text here</p>
#5a227f Background Color
This box has a background color of #5a227f
<div style="background-color:#5a227f">Text here</div>
#5a227f Border Color
This box has a border color of #5a227f
<div style="border: 4px solid #5a227f">Text here</div>
CSS codes
<p style="color:#5a227f">Text here</p>
<div style="background-color:#5a227f">Text here</div>
<div style="border: 4px solid #5a227f">Text here</div>
#5a227f Color on white background
This is how a font and box color of #5a227f will look
on a white background.
#5a227f Color on black background
This is how a font and box color of #5a227f hex color will look
on a black background.