In RGB color space, #5f227e hex color has a red value of 95, a green value of 34 and a blue value of 126.
In CMYK color space (used in color printing), #5f227e hex color is composed of 24.6% cyan, 73.02% magenta, 0% yellow and 50.59% black.
#5f227e color has a hue of 279.8 degrees, a saturation of 57.5% and a lightness of 31.4%.
#5f227e hex color contains mainly BLUE.
The closest web safe color of #5f227e is #663366
#5f227e hex color has a decimal value of 6234750.
HEX | 5f227e | #5f227e |
---|---|---|
RGB | 95, 34, 126 | rgb(95, 34, 126) |
RGB Percent | 37.25, 13.33, 49.41 | rgb(37.25, 13.33, 49.41) |
CMYK | 25, 73, 0, 51 | |
HSL | 279.8°, 57.5, 31.4 | hsl(279.8, 57.5%, 31.4%) |
HSV | 279.8°, 73, 49.4 |
XYZ | 9.057, 5.083, 20.242 |
---|---|
Hunter Lab | 22.546, 32.253, -37.45 |
CIE-LAB | 26.97, 43.162, -40.06 |
CIE-LCH | 26.97, 58.888, 317.135 |
CIE-LUV | 24.6, 73.02, 0, 50.59 |
Web Safe | 663366 |
RGB percent of color #5f227e
CMYK percent of color #5f227e
Text with hexadecimal color #5f227e
This text has a font color of #5f227e
<p style="color:#5f227e">Text here</p>
#5f227e Background Color
This box has a background color of #5f227e
<div style="background-color:#5f227e">Text here</div>
#5f227e Border Color
This box has a border color of #5f227e
<div style="border: 4px solid #5f227e">Text here</div>
CSS codes
<p style="color:#5f227e">Text here</p>
<div style="background-color:#5f227e">Text here</div>
<div style="border: 4px solid #5f227e">Text here</div>
#5f227e Color on white background
This is how a font and box color of #5f227e will look
on a white background.
#5f227e Color on black background
This is how a font and box color of #5f227e hex color will look
on a black background.