#6820A5 color
The hex color #6820A5 is a moderate violet.
In the RGB color model it is made of 40.8% red, 12.5% green and 64.7% blue (104, 32, 165).
Its hue angle is 272°, with 68% saturation and 39% lightness. For print, the CMYK equivalent is 37% cyan, 81% magenta, 0% yellow and 35% black.
The closest named color is Wild Violet (#63209B), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.98:1).
#6820A5 color codes
| HEX | #6820A5 | |
|---|---|---|
| RGB | rgb(104, 32, 165) | |
| RGB percent | rgb(40.8%, 12.5%, 64.7%) | |
| HSL | hsl(272, 68%, 39%) | |
| HSV / HSB | hsv(272, 81%, 65%) | |
| CMYK | cmyk(37%, 81%, 0%, 35%) | |
| CIE LAB | lab(31.1, 54.71, -57.35) | |
| CIE LCH | lch(31.1, 79.26, 313.65) | |
| CIE XYZ | xyz(13.015, 6.693, 36.196) | |
| Decimal | 6824101 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #6820A5, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #6820A5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.34:1 | Fail | Fail | Fail |
| Sample text | 8.98:1 | Pass | Pass | Pass |
| #6820A5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.98:1 | Pass | Pass | Pass |
| Sample text | 2.34:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #6820A5 looks to people with the most common types of color vision deficiency.
#0048a9Protanopia
no red cones#0049a2Deuteranopia
no green cones#5b4463Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #6820a5; }
.text { color: #6820a5; }
.border { border: 2px solid #6820a5; }
.transparent { background-color: rgb(104 32 165 / 50%); }
.gradient { background: linear-gradient(to right, #6820a5, #a520a0); }
Similar colors
#63209bWild Violet#6f2da8Grape#7722aaFuchsia Nebula#663399Rebecca Purple#5930a9Royalty#772299Orb of Discord#632f92Lucid Dreams#69359cPurple Heart
Questions
- What color is #6820A5?
- #6820A5 is a moderate violet, closest to the named color Wild Violet. It belongs to the purple family of colors.
- What is the RGB value of #6820A5?
- The RGB value is 104, 32, 165: 104 red, 32 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #6820A5?
- The complementary color is #5DA520, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #6820A5?
- White text. Black text has a contrast ratio of 2.34:1 and white text 8.98:1. WCAG asks for at least 4.5:1 for normal text.