In RGB color space, #5f21b4 hex color has a red value of 95, a green value of 33 and a blue value of 180.
In CMYK color space (used in color printing), #5f21b4 hex color is composed of 47.22% cyan, 81.67% magenta, 0% yellow and 29.41% black.
#5f21b4 color has a hue of 265.3 degrees, a saturation of 69.01% and a lightness of 41.8%.
#5f21b4 hex color contains mainly BLUE.
The closest web safe color of #5f21b4 is #6633cc
#5f21b4 hex color has a decimal value of 6234548.
HEX | 5f21b4 | #5f21b4 |
---|---|---|
RGB | 95, 33, 180 | rgb(95, 33, 180) |
RGB Percent | 37.25, 12.94, 70.59 | rgb(37.25, 12.94, 70.59) |
CMYK | 47, 82, 0, 29 | |
HSL | 265.3°, 69.01, 41.8 | hsl(265.3, 69.01%, 41.8%) |
HSV | 265.3°, 81.7, 70.6 |
XYZ | 13.501, 6.816, 43.784 |
---|---|
Hunter Lab | 26.107, 46.62, -81.158 |
CIE-LAB | 31.384, 56.64, -65.924 |
CIE-LCH | 31.384, 86.914, 310.668 |
CIE-LUV | 47.22, 81.67, 0, 29.41 |
Web Safe | 6633cc |
RGB percent of color #5f21b4
CMYK percent of color #5f21b4
Text with hexadecimal color #5f21b4
This text has a font color of #5f21b4
<p style="color:#5f21b4">Text here</p>
#5f21b4 Background Color
This box has a background color of #5f21b4
<div style="background-color:#5f21b4">Text here</div>
#5f21b4 Border Color
This box has a border color of #5f21b4
<div style="border: 4px solid #5f21b4">Text here</div>
CSS codes
<p style="color:#5f21b4">Text here</p>
<div style="background-color:#5f21b4">Text here</div>
<div style="border: 4px solid #5f21b4">Text here</div>
#5f21b4 Color on white background
This is how a font and box color of #5f21b4 will look
on a white background.
#5f21b4 Color on black background
This is how a font and box color of #5f21b4 hex color will look
on a black background.