In RGB color space, #5f20a3 hex color has a red value of 95, a green value of 32 and a blue value of 163.
In CMYK color space (used in color printing), #5f20a3 hex color is composed of 41.72% cyan, 80.37% magenta, 0% yellow and 36.08% black.
#5f20a3 color has a hue of 268.9 degrees, a saturation of 67.18% and a lightness of 38.2%.
#5f20a3 hex color contains mainly BLUE.
The closest web safe color of #5f20a3 is #663399
#5f20a3 hex color has a decimal value of 6234275.
HEX | 5f20a3 | #5f20a3 |
---|---|---|
RGB | 95, 32, 163 | rgb(95, 32, 163) |
RGB Percent | 37.25, 12.55, 63.92 | rgb(37.25, 12.55, 63.92) |
CMYK | 42, 80, 0, 36 | |
HSL | 268.9°, 67.18, 38.2 | hsl(268.9, 67.18%, 38.2%) |
HSV | 268.9°, 80.4, 63.9 |
XYZ | 11.847, 6.11, 35.205 |
---|---|
Hunter Lab | 24.718, 42.294, -67.14 |
CIE-LAB | 29.688, 52.83, -58.498 |
CIE-LCH | 29.688, 78.823, 312.085 |
CIE-LUV | 41.72, 80.37, 0, 36.08 |
Web Safe | 663399 |
RGB percent of color #5f20a3
CMYK percent of color #5f20a3
Text with hexadecimal color #5f20a3
This text has a font color of #5f20a3
<p style="color:#5f20a3">Text here</p>
#5f20a3 Background Color
This box has a background color of #5f20a3
<div style="background-color:#5f20a3">Text here</div>
#5f20a3 Border Color
This box has a border color of #5f20a3
<div style="border: 4px solid #5f20a3">Text here</div>
CSS codes
<p style="color:#5f20a3">Text here</p>
<div style="background-color:#5f20a3">Text here</div>
<div style="border: 4px solid #5f20a3">Text here</div>
#5f20a3 Color on white background
This is how a font and box color of #5f20a3 will look
on a white background.
#5f20a3 Color on black background
This is how a font and box color of #5f20a3 hex color will look
on a black background.