#7e21b1 hex color
In a RGB color space, hex #7e21b1 is composed of 49.4% red, 12.9% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 28.8% cyan, 81.4% magenta, 0% yellow and 30.6% black. It has a hue angle of 278.8 degrees, a saturation of 68.6% and a lightness of 41.2%. #7e21b1 color hex could be obtained by blending #fc42ff with #000063. Closest websafe color is: #663399.
-
- R 49
- G 13
- B 69
RGB color chart
-
- C 29
- M 81
- Y 0
- K 31
CMYK color chart
● #7e21b1 color description : Dark violet.
The hexadecimal color #7e21b1 has RGB values of R:126, G:33, B:177 and CMYK values of C:0.29, M:0.81, Y:0, K:0.31. Its decimal value is 8266161.
Hex triplet | 7e21b1 | #7e21b1 |
---|---|---|
RGB Decimal | 126, 33, 177 | rgb(126,33,177) |
RGB Percent | 49.4, 12.9, 69.4 | rgb(49.4%,12.9%,69.4%) |
CMYK | 29, 81, 0, 31 | |
HSL | 278.8°, 68.6, 41.2 | hsl(278.8,68.6%,41.2%) |
HSV (or HSB) | 278.8°, 81.4, 69.4 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 35.396, 60.633, -57.402 |
---|---|
XYZ | 17.083, 8.698, 42.372 |
xyY | 0.251, 0.128, 8.698 |
CIE-LCH | 35.396, 83.494, 316.568 |
CIE-LUV | 35.396, 23.438, -84.359 |
Hunter-Lab | 29.493, 51.779, -64.536 |
Binary | 01111110, 00100001, 10110001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #7e21b1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #7e21b1
This text has a font color of #7e21b1.
<span style="color:#7e21b1;">Text here</span>
#7e21b1 background color
This paragraph has a background color of #7e21b1.
<p style="background-color:#7e21b1;">Content here</p>
#7e21b1 border color
This element has a border color of #7e21b1.
<div style="border:1px solid #7e21b1;">Content here</div>
CSS codes
.text {color:#7e21b1;}
.background {background-color:#7e21b1;}
.border {border:1px solid #7e21b1;}
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, #08020c is the darkest color, while #fdfafe is the lightest one.
-
#08020c
#08020c
rgb(8,2,12)
-
#14051c
#14051c
rgb(20,5,28)
-
#20082d
#20082d
rgb(32,8,45)
-
#2c0b3d
#2c0b3d
rgb(44,11,61)
-
#370f4e
#370f4e
rgb(55,15,78)
-
#43125e
#43125e
rgb(67,18,94)
-
#4f156f
#4f156f
rgb(79,21,111)
-
#5b187f
#5b187f
rgb(91,24,127)
-
#661b90
#661b90
rgb(102,27,144)
-
#721ea0
#721ea0
rgb(114,30,160)
-
#7e21b1
#7e21b1
rgb(126,33,177)
-
#8a24c2
#8a24c2
rgb(138,36,194)
-
#9627d2
#9627d2
rgb(150,39,210)
Shade Color Variation
-
#9f34d9
#9f34d9
rgb(159,52,217)
-
#a644dc
#a644dc
rgb(166,68,220)
-
#ae55df
#ae55df
rgb(174,85,223)
-
#b665e2
#b665e2
rgb(182,101,226)
-
#be76e5
#be76e5
rgb(190,118,229)
-
#c686e9
#c686e9
rgb(198,134,233)
-
#ce97ec
#ce97ec
rgb(206,151,236)
-
#d5a7ef
#d5a7ef
rgb(213,167,239)
-
#ddb8f2
#ddb8f2
rgb(221,184,242)
-
#e5c9f5
#e5c9f5
rgb(229,201,245)
-
#edd9f8
#edd9f8
rgb(237,217,248)
-
#f5eafb
#f5eafb
rgb(245,234,251)
-
#fdfafe
#fdfafe
rgb(253,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6b6270 is the less saturated color, while #8701d1 is the most saturated one.
-
#6b6270
#6b6270
rgb(107,98,112)
-
#6e5a78
#6e5a78
rgb(110,90,120)
-
#705181
#705181
rgb(112,81,129)
-
#724989
#724989
rgb(114,73,137)
-
#754191
#754191
rgb(117,65,145)
-
#773999
#773999
rgb(119,57,153)
-
#7931a1
#7931a1
rgb(121,49,161)
-
#7c29a9
#7c29a9
rgb(124,41,169)
-
#7e21b1
#7e21b1
rgb(126,33,177)
-
#8019b9
#8019b9
rgb(128,25,185)
-
#8311c1
#8311c1
rgb(131,17,193)
-
#8509c9
#8509c9
rgb(133,9,201)
-
#8701d1
#8701d1
rgb(135,1,209)
Tone Color Variation
Below, you can see how #7e21b1 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