In RGB color space, #5f21ab hex color has a red value of 95, a green value of 33 and a blue value of 171.
In CMYK color space (used in color printing), #5f21ab hex color is composed of 44.44% cyan, 80.7% magenta, 0% yellow and 32.94% black.
#5f21ab color has a hue of 267 degrees, a saturation of 67.65% and a lightness of 40%.
#5f21ab hex color contains mainly BLUE.
The closest web safe color of #5f21ab is #663399
#5f21ab hex color has a decimal value of 6234539.
HEX | 5f21ab | #5f21ab |
---|---|---|
RGB | 95, 33, 171 | rgb(95, 33, 171) |
RGB Percent | 37.25, 12.94, 67.06 | rgb(37.25, 12.94, 67.06) |
CMYK | 44, 81, 0, 33 | |
HSL | 267°, 67.65, 40 | hsl(267, 67.65%, 40%) |
HSV | 267°, 80.7, 67.1 |
XYZ | 12.614, 6.461, 39.11 |
---|---|
Hunter Lab | 25.418, 44.099, -73.433 |
CIE-LAB | 30.547, 54.406, -61.916 |
CIE-LCH | 30.547, 82.423, 311.306 |
CIE-LUV | 44.44, 80.7, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #5f21ab
CMYK percent of color #5f21ab
Text with hexadecimal color #5f21ab
This text has a font color of #5f21ab
<p style="color:#5f21ab">Text here</p>
#5f21ab Background Color
This box has a background color of #5f21ab
<div style="background-color:#5f21ab">Text here</div>
#5f21ab Border Color
This box has a border color of #5f21ab
<div style="border: 4px solid #5f21ab">Text here</div>
CSS codes
<p style="color:#5f21ab">Text here</p>
<div style="background-color:#5f21ab">Text here</div>
<div style="border: 4px solid #5f21ab">Text here</div>
#5f21ab Color on white background
This is how a font and box color of #5f21ab will look
on a white background.
#5f21ab Color on black background
This is how a font and box color of #5f21ab hex color will look
on a black background.