#9f21a6 hex color
In a RGB color space, hex #9f21a6 is composed of 62.4% red, 12.9% green and 65.1% blue. Whereas in a CMYK color space, it is composed of 4.2% cyan, 80.1% magenta, 0% yellow and 34.9% black. It has a hue angle of 296.8 degrees, a saturation of 66.8% and a lightness of 39%. #9f21a6 color hex could be obtained by blending #ff42ff with #3f004d. Closest websafe color is: #993399.
-
- R 62
- G 13
- B 65
RGB color chart
-
- C 4
- M 80
- Y 0
- K 35
CMYK color chart
● #9f21a6 color description : Dark magenta.
The hexadecimal color #9f21a6 has RGB values of R:159, G:33, B:166 and CMYK values of C:0.04, M:0.8, Y:0, K:0.35. Its decimal value is 10428838.
Hex triplet | 9f21a6 | #9f21a6 |
---|---|---|
RGB Decimal | 159, 33, 166 | rgb(159,33,166) |
RGB Percent | 62.4, 12.9, 65.1 | rgb(62.4%,12.9%,65.1%) |
CMYK | 4, 80, 0, 35 | |
HSL | 296.8°, 66.8, 39 | hsl(296.8,66.8%,39%) |
HSV (or HSB) | 296.8°, 80.1, 65.1 | |
Web Safe | 993399 | #993399 |
CIE-LAB | 39.937, 64.599, -43.24 |
---|---|
XYZ | 21.724, 11.213, 37.094 |
xyY | 0.31, 0.16, 11.213 |
CIE-LCH | 39.937, 77.735, 326.203 |
CIE-LUV | 39.937, 47.069, -69.201 |
Hunter-Lab | 33.486, 57.203, -42.239 |
Binary | 10011111, 00100001, 10100110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #9f21a6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #9f21a6
This text has a font color of #9f21a6.
<span style="color:#9f21a6;">Text here</span>
#9f21a6 background color
This paragraph has a background color of #9f21a6.
<p style="background-color:#9f21a6;">Content here</p>
#9f21a6 border color
This element has a border color of #9f21a6.
<div style="border:1px solid #9f21a6;">Content here</div>
CSS codes
.text {color:#9f21a6;}
.background {background-color:#9f21a6;}
.border {border:1px solid #9f21a6;}
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, #020002 is the darkest color, while #fcf1fc is the lightest one.
-
#020002
#020002
rgb(2,0,2)
-
#120413
#120413
rgb(18,4,19)
-
#220723
#220723
rgb(34,7,35)
-
#310a33
#310a33
rgb(49,10,51)
-
#410d44
#410d44
rgb(65,13,68)
-
#511154
#511154
rgb(81,17,84)
-
#601465
#601465
rgb(96,20,101)
-
#701775
#701775
rgb(112,23,117)
-
#801a85
#801a85
rgb(128,26,133)
-
#8f1e96
#8f1e96
rgb(143,30,150)
-
#9f21a6
#9f21a6
rgb(159,33,166)
-
#af24b6
#af24b6
rgb(175,36,182)
-
#be28c7
#be28c7
rgb(190,40,199)
Shade Color Variation
-
#cc2dd5
#cc2dd5
rgb(204,45,213)
-
#d03dd8
#d03dd8
rgb(208,61,216)
-
#d44ddc
#d44ddc
rgb(212,77,220)
-
#d85edf
#d85edf
rgb(216,94,223)
-
#dc6ee2
#dc6ee2
rgb(220,110,226)
-
#e07ee5
#e07ee5
rgb(224,126,229)
-
#e48fe9
#e48fe9
rgb(228,143,233)
-
#e89fec
#e89fec
rgb(232,159,236)
-
#ecb0ef
#ecb0ef
rgb(236,176,239)
-
#f0c0f2
#f0c0f2
rgb(240,192,242)
-
#f4d0f6
#f4d0f6
rgb(244,208,246)
-
#f8e1f9
#f8e1f9
rgb(248,225,249)
-
#fcf1fc
#fcf1fc
rgb(252,241,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #685e69 is the less saturated color, while #ba02c5 is the most saturated one.
-
#685e69
#685e69
rgb(104,94,105)
-
#6f5770
#6f5770
rgb(111,87,112)
-
#764f78
#764f78
rgb(118,79,120)
-
#7d4780
#7d4780
rgb(125,71,128)
-
#844087
#844087
rgb(132,64,135)
-
#8a388f
#8a388f
rgb(138,56,143)
-
#913097
#913097
rgb(145,48,151)
-
#98299e
#98299e
rgb(152,41,158)
-
#9f21a6
#9f21a6
rgb(159,33,166)
-
#a619ae
#a619ae
rgb(166,25,174)
-
#ad12b5
#ad12b5
rgb(173,18,181)
-
#b40abd
#b40abd
rgb(180,10,189)
-
#ba02c5
#ba02c5
rgb(186,2,197)
Tone Color Variation
Below, you can see how #9f21a6 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