#6a21d2 hex color
In a RGB color space, hex #6a21d2 is composed of 41.6% red, 12.9% green and 82.4% blue. Whereas in a CMYK color space, it is composed of 49.5% cyan, 84.3% magenta, 0% yellow and 17.6% black. It has a hue angle of 264.7 degrees, a saturation of 72.8% and a lightness of 47.6%. #6a21d2 color hex could be obtained by blending #d442ff with #0000a5. Closest websafe color is: #6633cc.
-
- R 42
- G 13
- B 82
RGB color chart
-
- C 50
- M 84
- Y 0
- K 18
CMYK color chart
● #6a21d2 color description : Strong violet.
The hexadecimal color #6a21d2 has RGB values of R:106, G:33, B:210 and CMYK values of C:0.5, M:0.84, Y:0, K:0.18. Its decimal value is 6955474.
Hex triplet | 6a21d2 | #6a21d2 |
---|---|---|
RGB Decimal | 106, 33, 210 | rgb(106,33,210) |
RGB Percent | 41.6, 12.9, 82.4 | rgb(41.6%,12.9%,82.4%) |
CMYK | 50, 84, 0, 18 | |
HSL | 264.7°, 72.8, 47.6 | hsl(264.7,72.8%,47.6%) |
HSV (or HSB) | 264.7°, 84.3, 82.4 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 35.606, 65.322, -76.54 |
---|---|
XYZ | 18.119, 8.805, 61.714 |
xyY | 0.204, 0.099, 8.805 |
CIE-LCH | 35.606, 100.625, 310.479 |
CIE-LUV | 35.606, 8.464, -107.398 |
Hunter-Lab | 29.673, 57.066, -102.541 |
Binary | 01101010, 00100001, 11010010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #6a21d2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #6a21d2
This text has a font color of #6a21d2.
<span style="color:#6a21d2;">Text here</span>
#6a21d2 background color
This paragraph has a background color of #6a21d2.
<p style="background-color:#6a21d2;">Content here</p>
#6a21d2 border color
This element has a border color of #6a21d2.
<div style="border:1px solid #6a21d2;">Content here</div>
CSS codes
.text {color:#6a21d2;}
.background {background-color:#6a21d2;}
.border {border:1px solid #6a21d2;}
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, #030107 is the darkest color, while #f8f5fd is the lightest one.
-
#030107
#030107
rgb(3,1,7)
-
#0c0418
#0c0418
rgb(12,4,24)
-
#140628
#140628
rgb(20,6,40)
-
#1d0939
#1d0939
rgb(29,9,57)
-
#260c4a
#260c4a
rgb(38,12,74)
-
#2e0e5b
#2e0e5b
rgb(46,14,91)
-
#37116c
#37116c
rgb(55,17,108)
-
#3f147d
#3f147d
rgb(63,20,125)
-
#48168e
#48168e
rgb(72,22,142)
-
#50199f
#50199f
rgb(80,25,159)
-
#591cb0
#591cb0
rgb(89,28,176)
-
#611ec1
#611ec1
rgb(97,30,193)
-
#6a21d2
#6a21d2
rgb(106,33,210)
Shade Color Variation
-
#7429dd
#7429dd
rgb(116,41,221)
-
#7f3ae0
#7f3ae0
rgb(127,58,224)
-
#8a4be3
#8a4be3
rgb(138,75,227)
-
#955ce5
#955ce5
rgb(149,92,229)
-
#a06de8
#a06de8
rgb(160,109,232)
-
#ab7eeb
#ab7eeb
rgb(171,126,235)
-
#b68fed
#b68fed
rgb(182,143,237)
-
#c1a0f0
#c1a0f0
rgb(193,160,240)
-
#ccb1f3
#ccb1f3
rgb(204,177,243)
-
#d7c2f5
#d7c2f5
rgb(215,194,245)
-
#e2d3f8
#e2d3f8
rgb(226,211,248)
-
#ede4fb
#ede4fb
rgb(237,228,251)
-
#f8f5fd
#f8f5fd
rgb(248,245,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #79757e is the less saturated color, while #6505ee is the most saturated one.
-
#79757e
#79757e
rgb(121,117,126)
-
#776c87
#776c87
rgb(119,108,135)
-
#756291
#756291
rgb(117,98,145)
-
#74599a
#74599a
rgb(116,89,154)
-
#7250a3
#7250a3
rgb(114,80,163)
-
#7146ad
#7146ad
rgb(113,70,173)
-
#6f3db6
#6f3db6
rgb(111,61,182)
-
#6d34bf
#6d34bf
rgb(109,52,191)
-
#6c2ac9
#6c2ac9
rgb(108,42,201)
-
#6a21d2
#6a21d2
rgb(106,33,210)
-
#6818db
#6818db
rgb(104,24,219)
-
#670ee5
#670ee5
rgb(103,14,229)
-
#6505ee
#6505ee
rgb(101,5,238)
Tone Color Variation
Below, you can see how #6a21d2 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