In RGB color space, #5f21c4 hex color has a red value of 95, a green value of 33 and a blue value of 196.
In CMYK color space (used in color printing), #5f21c4 hex color is composed of 51.53% cyan, 83.16% magenta, 0% yellow and 23.14% black.
#5f21c4 color has a hue of 262.8 degrees, a saturation of 71.18% and a lightness of 44.9%.
#5f21c4 hex color contains mainly BLUE.
The closest web safe color of #5f21c4 is #6633cc
#5f21c4 hex color has a decimal value of 6234564.
HEX | 5f21c4 | #5f21c4 |
---|---|---|
RGB | 95, 33, 196 | rgb(95, 33, 196) |
RGB Percent | 37.25, 12.94, 76.86 | rgb(37.25, 12.94, 76.86) |
CMYK | 52, 83, 0, 23 | |
HSL | 262.8°, 71.18, 44.9 | hsl(262.8, 71.18%, 44.9%) |
HSV | 262.8°, 83.2, 76.9 |
XYZ | 15.227, 7.506, 52.871 |
---|---|
Hunter Lab | 27.397, 51.263, -95.24 |
CIE-LAB | 32.932, 60.643, -72.833 |
CIE-LCH | 32.932, 94.775, 309.782 |
CIE-LUV | 51.53, 83.16, 0, 23.14 |
Web Safe | 6633cc |
RGB percent of color #5f21c4
CMYK percent of color #5f21c4
Text with hexadecimal color #5f21c4
This text has a font color of #5f21c4
<p style="color:#5f21c4">Text here</p>
#5f21c4 Background Color
This box has a background color of #5f21c4
<div style="background-color:#5f21c4">Text here</div>
#5f21c4 Border Color
This box has a border color of #5f21c4
<div style="border: 4px solid #5f21c4">Text here</div>
CSS codes
<p style="color:#5f21c4">Text here</p>
<div style="background-color:#5f21c4">Text here</div>
<div style="border: 4px solid #5f21c4">Text here</div>
#5f21c4 Color on white background
This is how a font and box color of #5f21c4 will look
on a white background.
#5f21c4 Color on black background
This is how a font and box color of #5f21c4 hex color will look
on a black background.