In RGB color space, #5f227b hex color has a red value of 95, a green value of 34 and a blue value of 123.
In CMYK color space (used in color printing), #5f227b hex color is composed of 22.76% cyan, 72.36% magenta, 0% yellow and 51.76% black.
#5f227b color has a hue of 281.1 degrees, a saturation of 56.69% and a lightness of 30.8%.
#5f227b hex color contains mainly BLUE.
The closest web safe color of #5f227b is #663366
#5f227b hex color has a decimal value of 6234747.
HEX | 5f227b | #5f227b |
---|---|---|
RGB | 95, 34, 123 | rgb(95, 34, 123) |
RGB Percent | 37.25, 13.33, 48.24 | rgb(37.25, 13.33, 48.24) |
CMYK | 23, 72, 0, 52 | |
HSL | 281.1°, 56.69, 30.8 | hsl(281.1, 56.69%, 30.8%) |
HSV | 281.1°, 72.4, 48.2 |
XYZ | 8.866, 5.007, 19.238 |
---|---|
Hunter Lab | 22.376, 31.567, -35.311 |
CIE-LAB | 26.755, 42.473, -38.512 |
CIE-LCH | 26.755, 57.333, 317.8 |
CIE-LUV | 22.76, 72.36, 0, 51.76 |
Web Safe | 663366 |
RGB percent of color #5f227b
CMYK percent of color #5f227b
Text with hexadecimal color #5f227b
This text has a font color of #5f227b
<p style="color:#5f227b">Text here</p>
#5f227b Background Color
This box has a background color of #5f227b
<div style="background-color:#5f227b">Text here</div>
#5f227b Border Color
This box has a border color of #5f227b
<div style="border: 4px solid #5f227b">Text here</div>
CSS codes
<p style="color:#5f227b">Text here</p>
<div style="background-color:#5f227b">Text here</div>
<div style="border: 4px solid #5f227b">Text here</div>
#5f227b Color on white background
This is how a font and box color of #5f227b will look
on a white background.
#5f227b Color on black background
This is how a font and box color of #5f227b hex color will look
on a black background.