In RGB color space, #5f21af hex color has a red value of 95, a green value of 33 and a blue value of 175.
In CMYK color space (used in color printing), #5f21af hex color is composed of 45.71% cyan, 81.14% magenta, 0% yellow and 31.37% black.
#5f21af color has a hue of 266.2 degrees, a saturation of 68.27% and a lightness of 40.8%.
#5f21af hex color contains mainly BLUE.
The closest web safe color of #5f21af is #663399
#5f21af hex color has a decimal value of 6234543.
HEX | 5f21af | #5f21af |
---|---|---|
RGB | 95, 33, 175 | rgb(95, 33, 175) |
RGB Percent | 37.25, 12.94, 68.63 | rgb(37.25, 12.94, 68.63) |
CMYK | 46, 81, 0, 31 | |
HSL | 266.2°, 68.27, 40.8 | hsl(266.2, 68.27%, 40.8%) |
HSV | 266.2°, 81.1, 68.6 |
XYZ | 13.001, 6.616, 41.149 |
---|---|
Hunter Lab | 25.722, 45.21, -76.846 |
CIE-LAB | 30.916, 55.397, -63.708 |
CIE-LCH | 30.916, 84.425, 311.008 |
CIE-LUV | 45.71, 81.14, 0, 31.37 |
Web Safe | 663399 |
RGB percent of color #5f21af
CMYK percent of color #5f21af
Text with hexadecimal color #5f21af
This text has a font color of #5f21af
<p style="color:#5f21af">Text here</p>
#5f21af Background Color
This box has a background color of #5f21af
<div style="background-color:#5f21af">Text here</div>
#5f21af Border Color
This box has a border color of #5f21af
<div style="border: 4px solid #5f21af">Text here</div>
CSS codes
<p style="color:#5f21af">Text here</p>
<div style="background-color:#5f21af">Text here</div>
<div style="border: 4px solid #5f21af">Text here</div>
#5f21af Color on white background
This is how a font and box color of #5f21af will look
on a white background.
#5f21af Color on black background
This is how a font and box color of #5f21af hex color will look
on a black background.