#6b21a7 hex color
In a RGB color space, hex #6b21a7 is composed of 42% red, 12.9% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 35.9% cyan, 80.2% magenta, 0% yellow and 34.5% black. It has a hue angle of 273.1 degrees, a saturation of 67% and a lightness of 39.2%. #6b21a7 color hex could be obtained by blending #d642ff with #00004f. Closest websafe color is: #663399.
-
- R 42
- G 13
- B 65
RGB color chart
-
- C 36
- M 80
- Y 0
- K 35
CMYK color chart
● #6b21a7 color description : Dark violet.
The hexadecimal color #6b21a7 has RGB values of R:107, G:33, B:167 and CMYK values of C:0.36, M:0.8, Y:0, K:0.35. Its decimal value is 7020967.
Hex triplet | 6b21a7 | #6b21a7 |
---|---|---|
RGB Decimal | 107, 33, 167 | rgb(107,33,167) |
RGB Percent | 42, 12.9, 65.5 | rgb(42%,12.9%,65.5%) |
CMYK | 36, 80, 0, 35 | |
HSL | 273.1°, 67, 39.2 | hsl(273.1,67%,39.2%) |
HSV (or HSB) | 273.1°, 80.2, 65.5 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 31.815, 55.298, -57.368 |
---|---|
XYZ | 13.581, 7.004, 37.193 |
xyY | 0.235, 0.121, 7.004 |
CIE-LCH | 31.815, 79.68, 313.948 |
CIE-LUV | 31.815, 15.772, -80.46 |
Hunter-Lab | 26.465, 45.291, -64.801 |
Binary | 01101011, 00100001, 10100111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #6b21a7. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #6b21a7
This text has a font color of #6b21a7.
<span style="color:#6b21a7;">Text here</span>
#6b21a7 background color
This paragraph has a background color of #6b21a7.
<p style="background-color:#6b21a7;">Content here</p>
#6b21a7 border color
This element has a border color of #6b21a7.
<div style="border:1px solid #6b21a7;">Content here</div>
CSS codes
.text {color:#6b21a7;}
.background {background-color:#6b21a7;}
.border {border:1px solid #6b21a7;}
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, #020103 is the darkest color, while #f8f2fc is the lightest one.
-
#020103
#020103
rgb(2,1,3)
-
#0d0414
#0d0414
rgb(13,4,20)
-
#170724
#170724
rgb(23,7,36)
-
#220a34
#220a34
rgb(34,10,52)
-
#2c0e45
#2c0e45
rgb(44,14,69)
-
#371155
#371155
rgb(55,17,85)
-
#411465
#411465
rgb(65,20,101)
-
#4c1776
#4c1776
rgb(76,23,118)
-
#561b86
#561b86
rgb(86,27,134)
-
#611e97
#611e97
rgb(97,30,151)
-
#6b21a7
#6b21a7
rgb(107,33,167)
-
#7524b7
#7524b7
rgb(117,36,183)
-
#8027c8
#8027c8
rgb(128,39,200)
Shade Color Variation
-
#8a2dd6
#8a2dd6
rgb(138,45,214)
-
#933ed9
#933ed9
rgb(147,62,217)
-
#9c4edc
#9c4edc
rgb(156,78,220)
-
#a65edf
#a65edf
rgb(166,94,223)
-
#af6fe3
#af6fe3
rgb(175,111,227)
-
#b87fe6
#b87fe6
rgb(184,127,230)
-
#c190e9
#c190e9
rgb(193,144,233)
-
#caa0ec
#caa0ec
rgb(202,160,236)
-
#d3b0ef
#d3b0ef
rgb(211,176,239)
-
#dcc1f3
#dcc1f3
rgb(220,193,243)
-
#e5d1f6
#e5d1f6
rgb(229,209,246)
-
#efe1f9
#efe1f9
rgb(239,225,249)
-
#f8f2fc
#f8f2fc
rgb(248,242,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #655f69 is the less saturated color, while #6e02c6 is the most saturated one.
-
#655f69
#655f69
rgb(101,95,105)
-
#655771
#655771
rgb(101,87,113)
-
#664f79
#664f79
rgb(102,79,121)
-
#674781
#674781
rgb(103,71,129)
-
#684088
#684088
rgb(104,64,136)
-
#693890
#693890
rgb(105,56,144)
-
#693098
#693098
rgb(105,48,152)
-
#6a299f
#6a299f
rgb(106,41,159)
-
#6b21a7
#6b21a7
rgb(107,33,167)
-
#6c19af
#6c19af
rgb(108,25,175)
-
#6d12b6
#6d12b6
rgb(109,18,182)
-
#6d0abe
#6d0abe
rgb(109,10,190)
-
#6e02c6
#6e02c6
rgb(110,2,198)
Tone Color Variation
Below, you can see how #6b21a7 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