In RGB color space, #5f22a2 hex color has a red value of 95, a green value of 34 and a blue value of 162.
In CMYK color space (used in color printing), #5f22a2 hex color is composed of 41.36% cyan, 79.01% magenta, 0% yellow and 36.47% black.
#5f22a2 color has a hue of 268.6 degrees, a saturation of 65.31% and a lightness of 38.4%.
#5f22a2 hex color contains mainly BLUE.
The closest web safe color of #5f22a2 is #663399
#5f22a2 hex color has a decimal value of 6234786.
HEX | 5f22a2 | #5f22a2 |
---|---|---|
RGB | 95, 34, 162 | rgb(95, 34, 162) |
RGB Percent | 37.25, 13.33, 63.53 | rgb(37.25, 13.33, 63.53) |
CMYK | 41, 79, 0, 36 | |
HSL | 268.6°, 65.31, 38.4 | hsl(268.6, 65.31%, 38.4%) |
HSV | 268.6°, 79, 63.5 |
XYZ | 11.813, 6.186, 34.754 |
---|---|
Hunter Lab | 24.872, 41.255, -65.438 |
CIE-LAB | 29.877, 51.777, -57.584 |
CIE-LCH | 29.877, 77.439, 311.96 |
CIE-LUV | 41.36, 79.01, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5f22a2
CMYK percent of color #5f22a2
Text with hexadecimal color #5f22a2
This text has a font color of #5f22a2
<p style="color:#5f22a2">Text here</p>
#5f22a2 Background Color
This box has a background color of #5f22a2
<div style="background-color:#5f22a2">Text here</div>
#5f22a2 Border Color
This box has a border color of #5f22a2
<div style="border: 4px solid #5f22a2">Text here</div>
CSS codes
<p style="color:#5f22a2">Text here</p>
<div style="background-color:#5f22a2">Text here</div>
<div style="border: 4px solid #5f22a2">Text here</div>
#5f22a2 Color on white background
This is how a font and box color of #5f22a2 will look
on a white background.
#5f22a2 Color on black background
This is how a font and box color of #5f22a2 hex color will look
on a black background.