In RGB color space, #5f228b hex color has a red value of 95, a green value of 34 and a blue value of 139.
In CMYK color space (used in color printing), #5f228b hex color is composed of 31.65% cyan, 75.54% magenta, 0% yellow and 45.49% black.
#5f228b color has a hue of 274.9 degrees, a saturation of 60.69% and a lightness of 33.9%.
#5f228b hex color contains mainly BLUE.
The closest web safe color of #5f228b is #663399
#5f228b hex color has a decimal value of 6234763.
HEX | 5f228b | #5f228b |
---|---|---|
RGB | 95, 34, 139 | rgb(95, 34, 139) |
RGB Percent | 37.25, 13.33, 54.51 | rgb(37.25, 13.33, 54.51) |
CMYK | 32, 76, 0, 45 | |
HSL | 274.9°, 60.69, 33.9 | hsl(274.9, 60.69%, 33.9%) |
HSV | 274.9°, 75.5, 54.5 |
XYZ | 9.952, 5.441, 24.952 |
---|---|
Hunter Lab | 23.326, 35.336, -47.095 |
CIE-LAB | 27.956, 46.199, -46.604 |
CIE-LCH | 27.956, 65.622, 314.75 |
CIE-LUV | 31.65, 75.54, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5f228b
CMYK percent of color #5f228b
Text with hexadecimal color #5f228b
This text has a font color of #5f228b
<p style="color:#5f228b">Text here</p>
#5f228b Background Color
This box has a background color of #5f228b
<div style="background-color:#5f228b">Text here</div>
#5f228b Border Color
This box has a border color of #5f228b
<div style="border: 4px solid #5f228b">Text here</div>
CSS codes
<p style="color:#5f228b">Text here</p>
<div style="background-color:#5f228b">Text here</div>
<div style="border: 4px solid #5f228b">Text here</div>
#5f228b Color on white background
This is how a font and box color of #5f228b will look
on a white background.
#5f228b Color on black background
This is how a font and box color of #5f228b hex color will look
on a black background.