In RGB color space, #5f21d2 hex color has a red value of 95, a green value of 33 and a blue value of 210.
In CMYK color space (used in color printing), #5f21d2 hex color is composed of 54.76% cyan, 84.29% magenta, 0% yellow and 17.65% black.
#5f21d2 color has a hue of 261 degrees, a saturation of 72.84% and a lightness of 47.6%.
#5f21d2 hex color contains mainly BLUE.
The closest web safe color of #5f21d2 is #6633cc
#5f21d2 hex color has a decimal value of 6234578.
HEX | 5f21d2 | #5f21d2 |
---|---|---|
RGB | 95, 33, 210 | rgb(95, 33, 210) |
RGB Percent | 37.25, 12.94, 82.35 | rgb(37.25, 12.94, 82.35) |
CMYK | 55, 84, 0, 18 | |
HSL | 261°, 72.84, 47.6 | hsl(261, 72.84%, 47.6%) |
HSV | 261°, 84.3, 82.4 |
XYZ | 16.896, 8.174, 61.66 |
---|---|
Hunter Lab | 28.59, 55.456, -107.857 |
CIE-LAB | 34.343, 64.143, -78.669 |
CIE-LCH | 34.343, 101.504, 309.192 |
CIE-LUV | 54.76, 84.29, 0, 17.65 |
Web Safe | 6633cc |
RGB percent of color #5f21d2
CMYK percent of color #5f21d2
Text with hexadecimal color #5f21d2
This text has a font color of #5f21d2
<p style="color:#5f21d2">Text here</p>
#5f21d2 Background Color
This box has a background color of #5f21d2
<div style="background-color:#5f21d2">Text here</div>
#5f21d2 Border Color
This box has a border color of #5f21d2
<div style="border: 4px solid #5f21d2">Text here</div>
CSS codes
<p style="color:#5f21d2">Text here</p>
<div style="background-color:#5f21d2">Text here</div>
<div style="border: 4px solid #5f21d2">Text here</div>
#5f21d2 Color on white background
This is how a font and box color of #5f21d2 will look
on a white background.
#5f21d2 Color on black background
This is how a font and box color of #5f21d2 hex color will look
on a black background.