In RGB color space, #5f21d3 hex color has a red value of 95, a green value of 33 and a blue value of 211.
In CMYK color space (used in color printing), #5f21d3 hex color is composed of 54.98% cyan, 84.36% magenta, 0% yellow and 17.25% black.
#5f21d3 color has a hue of 260.9 degrees, a saturation of 72.95% and a lightness of 47.8%.
#5f21d3 hex color contains mainly BLUE.
The closest web safe color of #5f21d3 is #6633cc
#5f21d3 hex color has a decimal value of 6234579.
HEX | 5f21d3 | #5f21d3 |
---|---|---|
RGB | 95, 33, 211 | rgb(95, 33, 211) |
RGB Percent | 37.25, 12.94, 82.75 | rgb(37.25, 12.94, 82.75) |
CMYK | 55, 84, 0, 17 | |
HSL | 260.9°, 72.95, 47.8 | hsl(260.9, 72.95%, 47.8%) |
HSV | 260.9°, 84.4, 82.7 |
XYZ | 17.021, 8.224, 62.318 |
---|---|
Hunter Lab | 28.678, 55.76, -108.767 |
CIE-LAB | 34.445, 64.393, -79.079 |
CIE-LCH | 34.445, 101.98, 309.155 |
CIE-LUV | 54.98, 84.36, 0, 17.25 |
Web Safe | 6633cc |
RGB percent of color #5f21d3
CMYK percent of color #5f21d3
Text with hexadecimal color #5f21d3
This text has a font color of #5f21d3
<p style="color:#5f21d3">Text here</p>
#5f21d3 Background Color
This box has a background color of #5f21d3
<div style="background-color:#5f21d3">Text here</div>
#5f21d3 Border Color
This box has a border color of #5f21d3
<div style="border: 4px solid #5f21d3">Text here</div>
CSS codes
<p style="color:#5f21d3">Text here</p>
<div style="background-color:#5f21d3">Text here</div>
<div style="border: 4px solid #5f21d3">Text here</div>
#5f21d3 Color on white background
This is how a font and box color of #5f21d3 will look
on a white background.
#5f21d3 Color on black background
This is how a font and box color of #5f21d3 hex color will look
on a black background.