In RGB color space, #5f21b8 hex color has a red value of 95, a green value of 33 and a blue value of 184.
In CMYK color space (used in color printing), #5f21b8 hex color is composed of 48.37% cyan, 82.07% magenta, 0% yellow and 27.84% black.
#5f21b8 color has a hue of 264.6 degrees, a saturation of 69.59% and a lightness of 42.5%.
#5f21b8 hex color contains mainly BLUE.
The closest web safe color of #5f21b8 is #6633cc
#5f21b8 hex color has a decimal value of 6234552.
HEX | 5f21b8 | #5f21b8 |
---|---|---|
RGB | 95, 33, 184 | rgb(95, 33, 184) |
RGB Percent | 37.25, 12.94, 72.16 | rgb(37.25, 12.94, 72.16) |
CMYK | 48, 82, 0, 28 | |
HSL | 264.6°, 69.59, 42.5 | hsl(264.6, 69.59%, 42.5%) |
HSV | 264.6°, 82.1, 72.2 |
XYZ | 13.915, 6.981, 45.962 |
---|---|
Hunter Lab | 26.422, 47.77, -84.644 |
CIE-LAB | 31.764, 57.645, -67.678 |
CIE-LCH | 31.764, 88.9, 310.423 |
CIE-LUV | 48.37, 82.07, 0, 27.84 |
Web Safe | 6633cc |
RGB percent of color #5f21b8
CMYK percent of color #5f21b8
Text with hexadecimal color #5f21b8
This text has a font color of #5f21b8
<p style="color:#5f21b8">Text here</p>
#5f21b8 Background Color
This box has a background color of #5f21b8
<div style="background-color:#5f21b8">Text here</div>
#5f21b8 Border Color
This box has a border color of #5f21b8
<div style="border: 4px solid #5f21b8">Text here</div>
CSS codes
<p style="color:#5f21b8">Text here</p>
<div style="background-color:#5f21b8">Text here</div>
<div style="border: 4px solid #5f21b8">Text here</div>
#5f21b8 Color on white background
This is how a font and box color of #5f21b8 will look
on a white background.
#5f21b8 Color on black background
This is how a font and box color of #5f21b8 hex color will look
on a black background.