#9f21a2 hex color
In a RGB color space, hex #9f21a2 is composed of 62.4% red, 12.9% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 1.9% cyan, 79.6% magenta, 0% yellow and 36.5% black. It has a hue angle of 298.6 degrees, a saturation of 66.2% and a lightness of 38.2%. #9f21a2 color hex could be obtained by blending #ff42ff with #3f0045. Closest websafe color is: #993399.
-
- R 62
- G 13
- B 64
RGB color chart
-
- C 2
- M 80
- Y 0
- K 36
CMYK color chart
● #9f21a2 color description : Dark magenta.
The hexadecimal color #9f21a2 has RGB values of R:159, G:33, B:162 and CMYK values of C:0.02, M:0.8, Y:0, K:0.36. Its decimal value is 10428834.
Hex triplet | 9f21a2 | #9f21a2 |
---|---|---|
RGB Decimal | 159, 33, 162 | rgb(159,33,162) |
RGB Percent | 62.4, 12.9, 63.5 | rgb(62.4%,12.9%,63.5%) |
CMYK | 2, 80, 0, 36 | |
HSL | 298.6°, 66.2, 38.2 | hsl(298.6,66.2%,38.2%) |
HSV (or HSB) | 298.6°, 79.6, 63.5 | |
Web Safe | 993399 | #993399 |
CIE-LAB | 39.696, 63.935, -41.226 |
---|---|
XYZ | 21.363, 11.069, 35.192 |
xyY | 0.316, 0.164, 11.069 |
CIE-LCH | 39.696, 76.074, 327.185 |
CIE-LUV | 39.696, 48.425, -66.212 |
Hunter-Lab | 33.27, 56.397, -39.427 |
Binary | 10011111, 00100001, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #9f21a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #9f21a2
This text has a font color of #9f21a2.
<span style="color:#9f21a2;">Text here</span>
#9f21a2 background color
This paragraph has a background color of #9f21a2.
<p style="background-color:#9f21a2;">Content here</p>
#9f21a2 border color
This element has a border color of #9f21a2.
<div style="border:1px solid #9f21a2;">Content here</div>
CSS codes
.text {color:#9f21a2;}
.background {background-color:#9f21a2;}
.border {border:1px solid #9f21a2;}
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, #0f030f is the darkest color, while #fffeff is the lightest one.
-
#0f030f
#0f030f
rgb(15,3,15)
-
#1f0620
#1f0620
rgb(31,6,32)
-
#2f0a30
#2f0a30
rgb(47,10,48)
-
#3f0d40
#3f0d40
rgb(63,13,64)
-
#4f1051
#4f1051
rgb(79,16,81)
-
#5f1461
#5f1461
rgb(95,20,97)
-
#6f1771
#6f1771
rgb(111,23,113)
-
#7f1a81
#7f1a81
rgb(127,26,129)
-
#8f1e92
#8f1e92
rgb(143,30,146)
-
#9f21a2
#9f21a2
rgb(159,33,162)
-
#af24b2
#af24b2
rgb(175,36,178)
-
#bf28c3
#bf28c3
rgb(191,40,195)
-
#cf2bd3
#cf2bd3
rgb(207,43,211)
Shade Color Variation
-
#d33ad7
#d33ad7
rgb(211,58,215)
-
#d74bda
#d74bda
rgb(215,75,218)
-
#db5bde
#db5bde
rgb(219,91,222)
-
#de6be1
#de6be1
rgb(222,107,225)
-
#e27ce4
#e27ce4
rgb(226,124,228)
-
#e58ce8
#e58ce8
rgb(229,140,232)
-
#e99ceb
#e99ceb
rgb(233,156,235)
-
#edadee
#edadee
rgb(237,173,238)
-
#f0bdf2
#f0bdf2
rgb(240,189,242)
-
#f4cdf5
#f4cdf5
rgb(244,205,245)
-
#f8ddf8
#f8ddf8
rgb(248,221,248)
-
#fbeefb
#fbeefb
rgb(251,238,251)
-
#fffeff
#fffeff
rgb(255,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #665d66 is the less saturated color, while #bc03c0 is the most saturated one.
-
#665d66
#665d66
rgb(102,93,102)
-
#6d566e
#6d566e
rgb(109,86,110)
-
#744e75
#744e75
rgb(116,78,117)
-
#7b477d
#7b477d
rgb(123,71,125)
-
#823f84
#823f84
rgb(130,63,132)
-
#8a388c
#8a388c
rgb(138,56,140)
-
#913093
#913093
rgb(145,48,147)
-
#98299b
#98299b
rgb(152,41,155)
-
#9f21a2
#9f21a2
rgb(159,33,162)
-
#a61aaa
#a61aaa
rgb(166,26,170)
-
#ad12b1
#ad12b1
rgb(173,18,177)
-
#b40bb9
#b40bb9
rgb(180,11,185)
-
#bc03c0
#bc03c0
rgb(188,3,192)
Tone Color Variation
Below, you can see how #9f21a2 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.
Monochromacy
Dichromacy