In RGB color space, #5b227c hex color has a red value of 91, a green value of 34 and a blue value of 124.
In CMYK color space (used in color printing), #5b227c hex color is composed of 26.61% cyan, 72.58% magenta, 0% yellow and 51.37% black.
#5b227c color has a hue of 278 degrees, a saturation of 56.96% and a lightness of 31%.
#5b227c hex color contains mainly BLUE.
The closest web safe color of #5b227c is #663366
#5b227c hex color has a decimal value of 5972604.
HEX | 5b227c | #5b227c |
---|---|---|
RGB | 91, 34, 124 | rgb(91, 34, 124) |
RGB Percent | 35.69, 13.33, 48.63 | rgb(35.69, 13.33, 48.63) |
CMYK | 27, 73, 0, 51 | |
HSL | 278°, 56.96, 31 | hsl(278, 56.96%, 31%) |
HSV | 278°, 72.6, 48.6 |
XYZ | 8.525, 4.823, 19.551 |
---|---|
Hunter Lab | 21.961, 30.858, -37.41 |
CIE-LAB | 26.224, 41.813, -40.031 |
CIE-LCH | 26.224, 57.886, 316.247 |
CIE-LUV | 26.61, 72.58, 0, 51.37 |
Web Safe | 663366 |
RGB percent of color #5b227c
CMYK percent of color #5b227c
Text with hexadecimal color #5b227c
This text has a font color of #5b227c
<p style="color:#5b227c">Text here</p>
#5b227c Background Color
This box has a background color of #5b227c
<div style="background-color:#5b227c">Text here</div>
#5b227c Border Color
This box has a border color of #5b227c
<div style="border: 4px solid #5b227c">Text here</div>
CSS codes
<p style="color:#5b227c">Text here</p>
<div style="background-color:#5b227c">Text here</div>
<div style="border: 4px solid #5b227c">Text here</div>
#5b227c Color on white background
This is how a font and box color of #5b227c will look
on a white background.
#5b227c Color on black background
This is how a font and box color of #5b227c hex color will look
on a black background.