#6a21a4 hex color
In a RGB color space, hex #6a21a4 is composed of 41.6% red, 12.9% green and 64.3% blue. Whereas in a CMYK color space, it is composed of 35.4% cyan, 79.9% magenta, 0% yellow and 35.7% black. It has a hue angle of 273.4 degrees, a saturation of 66.5% and a lightness of 38.6%. #6a21a4 color hex could be obtained by blending #d442ff with #000049. Closest websafe color is: #663399.
-
- R 42
- G 13
- B 64
RGB color chart
-
- C 35
- M 80
- Y 0
- K 36
CMYK color chart
● #6a21a4 color description : Dark violet.
The hexadecimal color #6a21a4 has RGB values of R:106, G:33, B:164 and CMYK values of C:0.35, M:0.8, Y:0, K:0.36. Its decimal value is 6955428.
Hex triplet | 6a21a4 | #6a21a4 |
---|---|---|
RGB Decimal | 106, 33, 164 | rgb(106,33,164) |
RGB Percent | 41.6, 12.9, 64.3 | rgb(41.6%,12.9%,64.3%) |
CMYK | 35, 80, 0, 36 | |
HSL | 273.4°, 66.5, 38.6 | hsl(273.4,66.5%,38.6%) |
HSV (or HSB) | 273.4°, 79.9, 64.3 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 31.422, 54.441, -56.205 |
---|---|
XYZ | 13.188, 6.832, 35.744 |
xyY | 0.236, 0.123, 6.832 |
CIE-LCH | 31.422, 78.249, 314.087 |
CIE-LUV | 31.422, 15.853, -78.623 |
Hunter-Lab | 26.139, 44.313, -62.78 |
Binary | 01101010, 00100001, 10100100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #6a21a4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #6a21a4
This text has a font color of #6a21a4.
<span style="color:#6a21a4;">Text here</span>
#6a21a4 background color
This paragraph has a background color of #6a21a4.
<p style="background-color:#6a21a4;">Content here</p>
#6a21a4 border color
This element has a border color of #6a21a4.
<div style="border:1px solid #6a21a4;">Content here</div>
CSS codes
.text {color:#6a21a4;}
.background {background-color:#6a21a4;}
.border {border:1px solid #6a21a4;}
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, #000001 is the darkest color, while #f6effc is the lightest one.
-
#000001
#000001
rgb(0,0,1)
-
#0b0311
#0b0311
rgb(11,3,17)
-
#160721
#160721
rgb(22,7,33)
-
#200a32
#200a32
rgb(32,10,50)
-
#2b0d42
#2b0d42
rgb(43,13,66)
-
#351152
#351152
rgb(53,17,82)
-
#401463
#401463
rgb(64,20,99)
-
#4a1773
#4a1773
rgb(74,23,115)
-
#551a83
#551a83
rgb(85,26,131)
-
#5f1e94
#5f1e94
rgb(95,30,148)
-
#6a21a4
#6a21a4
rgb(106,33,164)
-
#7524b4
#7524b4
rgb(117,36,180)
-
#7f28c5
#7f28c5
rgb(127,40,197)
Shade Color Variation
-
#8a2bd4
#8a2bd4
rgb(138,43,212)
-
#933cd8
#933cd8
rgb(147,60,216)
-
#9c4cdb
#9c4cdb
rgb(156,76,219)
-
#a55cde
#a55cde
rgb(165,92,222)
-
#ae6de2
#ae6de2
rgb(174,109,226)
-
#b77de5
#b77de5
rgb(183,125,229)
-
#c08de8
#c08de8
rgb(192,141,232)
-
#c99eeb
#c99eeb
rgb(201,158,235)
-
#d2aeef
#d2aeef
rgb(210,174,239)
-
#dbbef2
#dbbef2
rgb(219,190,242)
-
#e4cff5
#e4cff5
rgb(228,207,245)
-
#eddff9
#eddff9
rgb(237,223,249)
-
#f6effc
#f6effc
rgb(246,239,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #635e67 is the less saturated color, while #6d03c2 is the most saturated one.
-
#635e67
#635e67
rgb(99,94,103)
-
#64566f
#64566f
rgb(100,86,111)
-
#654e77
#654e77
rgb(101,78,119)
-
#66477e
#66477e
rgb(102,71,126)
-
#673f86
#673f86
rgb(103,63,134)
-
#67388d
#67388d
rgb(103,56,141)
-
#683095
#683095
rgb(104,48,149)
-
#69299c
#69299c
rgb(105,41,156)
-
#6a21a4
#6a21a4
rgb(106,33,164)
-
#6b19ac
#6b19ac
rgb(107,25,172)
-
#6c12b3
#6c12b3
rgb(108,18,179)
-
#6d0abb
#6d0abb
rgb(109,10,187)
-
#6d03c2
#6d03c2
rgb(109,3,194)
Tone Color Variation
Below, you can see how #6a21a4 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