In RGB color space, #5f21a0 hex color has a red value of 95, a green value of 33 and a blue value of 160.
In CMYK color space (used in color printing), #5f21a0 hex color is composed of 40.63% cyan, 79.38% magenta, 0% yellow and 37.25% black.
#5f21a0 color has a hue of 269.3 degrees, a saturation of 65.8% and a lightness of 37.8%.
#5f21a0 hex color contains mainly BLUE.
The closest web safe color of #5f21a0 is #663399
#5f21a0 hex color has a decimal value of 6234528.
HEX | 5f21a0 | #5f21a0 |
---|---|---|
RGB | 95, 33, 160 | rgb(95, 33, 160) |
RGB Percent | 37.25, 12.94, 62.75 | rgb(37.25, 12.94, 62.75) |
CMYK | 41, 79, 0, 37 | |
HSL | 269.3°, 65.8, 37.8 | hsl(269.3, 65.8%, 37.8%) |
HSV | 269.3°, 79.4, 62.7 |
XYZ | 11.608, 6.059, 33.815 |
---|---|
Hunter Lab | 24.615, 41.101, -64.219 |
CIE-LAB | 29.561, 51.688, -56.887 |
CIE-LCH | 29.561, 76.862, 312.259 |
CIE-LUV | 40.63, 79.38, 0, 37.25 |
Web Safe | 663399 |
RGB percent of color #5f21a0
CMYK percent of color #5f21a0
Text with hexadecimal color #5f21a0
This text has a font color of #5f21a0
<p style="color:#5f21a0">Text here</p>
#5f21a0 Background Color
This box has a background color of #5f21a0
<div style="background-color:#5f21a0">Text here</div>
#5f21a0 Border Color
This box has a border color of #5f21a0
<div style="border: 4px solid #5f21a0">Text here</div>
CSS codes
<p style="color:#5f21a0">Text here</p>
<div style="background-color:#5f21a0">Text here</div>
<div style="border: 4px solid #5f21a0">Text here</div>
#5f21a0 Color on white background
This is how a font and box color of #5f21a0 will look
on a white background.
#5f21a0 Color on black background
This is how a font and box color of #5f21a0 hex color will look
on a black background.