In RGB color space, #5f218b hex color has a red value of 95, a green value of 33 and a blue value of 139.
In CMYK color space (used in color printing), #5f218b hex color is composed of 31.65% cyan, 76.26% magenta, 0% yellow and 45.49% black.
#5f218b color has a hue of 275.1 degrees, a saturation of 61.63% and a lightness of 33.7%.
#5f218b hex color contains mainly BLUE.
The closest web safe color of #5f218b is #663399
#5f218b hex color has a decimal value of 6234507.
HEX | 5f218b | #5f218b |
---|---|---|
RGB | 95, 33, 139 | rgb(95, 33, 139) |
RGB Percent | 37.25, 12.94, 54.51 | rgb(37.25, 12.94, 54.51) |
CMYK | 32, 76, 0, 45 | |
HSL | 275.1°, 61.63, 33.7 | hsl(275.1, 61.63%, 33.7%) |
HSV | 275.1°, 76.3, 54.5 |
XYZ | 9.923, 5.385, 24.942 |
---|---|
Hunter Lab | 23.206, 35.719, -47.483 |
CIE-LAB | 27.805, 46.622, -46.848 |
CIE-LCH | 27.805, 66.093, 314.861 |
CIE-LUV | 31.65, 76.26, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5f218b
CMYK percent of color #5f218b
Text with hexadecimal color #5f218b
This text has a font color of #5f218b
<p style="color:#5f218b">Text here</p>
#5f218b Background Color
This box has a background color of #5f218b
<div style="background-color:#5f218b">Text here</div>
#5f218b Border Color
This box has a border color of #5f218b
<div style="border: 4px solid #5f218b">Text here</div>
CSS codes
<p style="color:#5f218b">Text here</p>
<div style="background-color:#5f218b">Text here</div>
<div style="border: 4px solid #5f218b">Text here</div>
#5f218b Color on white background
This is how a font and box color of #5f218b will look
on a white background.
#5f218b Color on black background
This is how a font and box color of #5f218b hex color will look
on a black background.