In RGB color space, #5f22b5 hex color has a red value of 95, a green value of 34 and a blue value of 181.
In CMYK color space (used in color printing), #5f22b5 hex color is composed of 47.51% cyan, 81.22% magenta, 0% yellow and 29.02% black.
#5f22b5 color has a hue of 264.9 degrees, a saturation of 68.37% and a lightness of 42.2%.
#5f22b5 hex color contains mainly BLUE.
The closest web safe color of #5f22b5 is #6633cc
#5f22b5 hex color has a decimal value of 6234805.
HEX | 5f22b5 | #5f22b5 |
---|---|---|
RGB | 95, 34, 181 | rgb(95, 34, 181) |
RGB Percent | 37.25, 13.33, 70.98 | rgb(37.25, 13.33, 70.98) |
CMYK | 48, 81, 0, 29 | |
HSL | 264.9°, 68.37, 42.2 | hsl(264.9, 68.37%, 42.2%) |
HSV | 264.9°, 81.2, 71 |
XYZ | 13.632, 6.913, 44.332 |
---|---|
Hunter Lab | 26.293, 46.535, -81.564 |
CIE-LAB | 31.608, 56.517, -66.152 |
CIE-LCH | 31.608, 87.007, 310.509 |
CIE-LUV | 47.51, 81.22, 0, 29.02 |
Web Safe | 6633cc |
RGB percent of color #5f22b5
CMYK percent of color #5f22b5
Text with hexadecimal color #5f22b5
This text has a font color of #5f22b5
<p style="color:#5f22b5">Text here</p>
#5f22b5 Background Color
This box has a background color of #5f22b5
<div style="background-color:#5f22b5">Text here</div>
#5f22b5 Border Color
This box has a border color of #5f22b5
<div style="border: 4px solid #5f22b5">Text here</div>
CSS codes
<p style="color:#5f22b5">Text here</p>
<div style="background-color:#5f22b5">Text here</div>
<div style="border: 4px solid #5f22b5">Text here</div>
#5f22b5 Color on white background
This is how a font and box color of #5f22b5 will look
on a white background.
#5f22b5 Color on black background
This is how a font and box color of #5f22b5 hex color will look
on a black background.