#5f21a2 Color Information
In a RGB color space, hex #5f21a2 is composed of 37.3% red, 12.9% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 41.4% cyan, 79.6% magenta, 0% yellow and 36.5% black. It has a hue angle of 268.8 degrees, a saturation of 66.2% and a lightness of 38.2%. #5f21a2 color hex could be obtained by blending #be42ff with #000045. Closest websafe color is: #663399.
-
- R 37
- G 13
- B 64
-
- C 41
- M 80
- Y 0
- K 36
● #5f21a2 color description : Dark violet.
#5f21a2 Color Conversion
The hexadecimal color #5f21a2 has RGB values of R:95, G:33, B:162 and CMYK values of C:0.41, M:0.8, Y:0, K:0.36. Its decimal value is 6234530.
Hex triplet | 5f21a2 | #5f21a2 |
---|---|---|
RGB Decimal | 95, 33, 162 | rgb(95,33,162) |
RGB Percent | 37.3, 12.9, 63.5 | rgb(37.3%,12.9%,63.5%) |
CMYK | 41, 80, 0, 36 | |
HSL | 268.8°, 66.2, 38.2 | hsl(268.8,66.2%,38.2%) |
HSV (or HSB) | 268.8°, 79.6, 63.5 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 29.736, 52.177, -57.811 |
---|---|
XYZ | 11.784, 6.129, 34.743 |
xyY | 0.224, 0.116, 6.129 |
CIE-LCH | 29.736, 77.876, 312.067 |
CIE-LUV | 29.736, 11.142, -78.499 |
Hunter-Lab | 24.757, 41.634, -65.873 |
Binary | 01011111, 00100001, 10100010 |
Color Schemes with #5f21a2
Alternatives to #5f21a2
Below, you can see some colors close to #5f21a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#5f21a2 Preview
This text has a font color of #5f21a2.
<span style="color:#5f21a2;">Text here</span>
This paragraph has a background color of #5f21a2.
<p style="background-color:#5f21a2;">Content here</p>
This element has a border color of #5f21a2.
<div style="border:1px solid #5f21a2;">Content here</div>
.text {color:#5f21a2;}
.background {background-color:#5f21a2;}
.border {border:1px solid #5f21a2;}
Shades and Tints of #5f21a2
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #09030f is the darkest color, while #fefeff is the lightest one.
-
#09030f
#09030f
rgb(9,3,15)
-
#130620
#130620
rgb(19,6,32)
-
#1c0a30
#1c0a30
rgb(28,10,48)
-
#260d40
#260d40
rgb(38,13,64)
-
#2f1051
#2f1051
rgb(47,16,81)
-
#391461
#391461
rgb(57,20,97)
-
#421771
#421771
rgb(66,23,113)
-
#4c1a81
#4c1a81
rgb(76,26,129)
-
#551e92
#551e92
rgb(85,30,146)
-
#5f21a2
#5f21a2
rgb(95,33,162)
-
#6924b2
#6924b2
rgb(105,36,178)
-
#7228c3
#7228c3
rgb(114,40,195)
-
#7c2bd3
#7c2bd3
rgb(124,43,211)
-
#863ad7
#863ad7
rgb(134,58,215)
-
#904bda
#904bda
rgb(144,75,218)
-
#9a5bde
#9a5bde
rgb(154,91,222)
-
#a46be1
#a46be1
rgb(164,107,225)
-
#ae7ce4
#ae7ce4
rgb(174,124,228)
-
#b88ce8
#b88ce8
rgb(184,140,232)
-
#c29ceb
#c29ceb
rgb(194,156,235)
-
#ccadee
#ccadee
rgb(204,173,238)
-
#d6bdf2
#d6bdf2
rgb(214,189,242)
-
#e0cdf5
#e0cdf5
rgb(224,205,245)
-
#eaddf8
#eaddf8
rgb(234,221,248)
-
#f4eefb
#f4eefb
rgb(244,238,251)
-
#fefeff
#fefeff
rgb(254,254,255)
Tones of #5f21a2
A tone is produced by adding gray to any pure hue. In this case, #615d66 is the less saturated color, while #5e03c0 is the most saturated one.
-
#615d66
#615d66
rgb(97,93,102)
-
#61566e
#61566e
rgb(97,86,110)
-
#614e75
#614e75
rgb(97,78,117)
-
#60477d
#60477d
rgb(96,71,125)
-
#603f84
#603f84
rgb(96,63,132)
-
#60388c
#60388c
rgb(96,56,140)
-
#603093
#603093
rgb(96,48,147)
-
#5f299b
#5f299b
rgb(95,41,155)
-
#5f21a2
#5f21a2
rgb(95,33,162)
-
#5f1aaa
#5f1aaa
rgb(95,26,170)
-
#5e12b1
#5e12b1
rgb(94,18,177)
-
#5e0bb9
#5e0bb9
rgb(94,11,185)
-
#5e03c0
#5e03c0
rgb(94,3,192)
Color Blindness Simulator
Below, you can see how #5f21a2 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.