In RGB color space, #5f21a1 hex color has a red value of 95, a green value of 33 and a blue value of 161.
In CMYK color space (used in color printing), #5f21a1 hex color is composed of 40.99% cyan, 79.5% magenta, 0% yellow and 36.86% black.
#5f21a1 color has a hue of 269.1 degrees, a saturation of 65.98% and a lightness of 38%.
#5f21a1 hex color contains mainly BLUE.
The closest web safe color of #5f21a1 is #663399
#5f21a1 hex color has a decimal value of 6234529.
HEX | 5f21a1 | #5f21a1 |
---|---|---|
RGB | 95, 33, 161 | rgb(95, 33, 161) |
RGB Percent | 37.25, 12.94, 63.14 | rgb(37.25, 12.94, 63.14) |
CMYK | 41, 80, 0, 37 | |
HSL | 269.1°, 65.98, 38 | hsl(269.1, 65.98%, 38%) |
HSV | 269.1°, 79.5, 63.1 |
XYZ | 11.696, 6.094, 34.278 |
---|---|
Hunter Lab | 24.686, 41.371, -65.047 |
CIE-LAB | 29.648, 51.936, -57.351 |
CIE-LCH | 29.648, 77.372, 312.163 |
CIE-LUV | 40.99, 79.5, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5f21a1
CMYK percent of color #5f21a1
Text with hexadecimal color #5f21a1
This text has a font color of #5f21a1
<p style="color:#5f21a1">Text here</p>
#5f21a1 Background Color
This box has a background color of #5f21a1
<div style="background-color:#5f21a1">Text here</div>
#5f21a1 Border Color
This box has a border color of #5f21a1
<div style="border: 4px solid #5f21a1">Text here</div>
CSS codes
<p style="color:#5f21a1">Text here</p>
<div style="background-color:#5f21a1">Text here</div>
<div style="border: 4px solid #5f21a1">Text here</div>
#5f21a1 Color on white background
This is how a font and box color of #5f21a1 will look
on a white background.
#5f21a1 Color on black background
This is how a font and box color of #5f21a1 hex color will look
on a black background.