#802E8D color
The hex color #802E8D is a dark, moderate magenta.
In the RGB color model it is made of 50.2% red, 18% green and 55.3% blue (128, 46, 141).
Its hue angle is 292°, with 51% saturation and 37% lightness. For print, the CMYK equivalent is 9% cyan, 67% magenta, 0% yellow and 45% black.
The closest named color is Hello Darkness My Old Friend (#802280), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.8:1).
#802E8D color codes
| HEX | #802E8D | |
|---|---|---|
| RGB | rgb(128, 46, 141) | |
| RGB percent | rgb(50.2%, 18%, 55.3%) | |
| HSL | hsl(292, 51%, 37%) | |
| HSV / HSB | hsv(292, 67%, 55%) | |
| CMYK | cmyk(9%, 67%, 0%, 45%) | |
| CIE LAB | lab(34.94, 48.75, -36.34) | |
| CIE LCH | lch(34.94, 60.8, 323.29) | |
| CIE XYZ | xyz(14.686, 8.467, 26.055) | |
| Decimal | 8400525 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #802E8D, 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 #802E8D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.69:1 | Fail | Fail | Fail |
| Sample text | 7.8:1 | Pass | Pass | Pass |
| #802E8D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.8:1 | Pass | Pass | Pass |
| Sample text | 2.69: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 #802E8D looks to people with the most common types of color vision deficiency.
#144c90Protanopia
no red cones#3a558bDeuteranopia
no green cones#813e59Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #802e8d; }
.text { color: #802e8d; }
.border { border: 2px solid #802e8d; }
.transparent { background-color: rgb(128 46 141 / 50%); }
.gradient { background: linear-gradient(to right, #802e8d, #8d2e6b); }
Similar colors
#802280Hello Darkness My Old Friend#853682Purple Sultan#733c8ePerkin Mauve#772299Orb of Discord#952e8fWarm Purple#8b008bDark Magenta#6b327bGalactic Grapevine#8833aaPleasant Purple
Questions
- What color is #802E8D?
- #802E8D is a dark, moderate magenta, closest to the named color Hello Darkness My Old Friend. It belongs to the purple family of colors.
- What is the RGB value of #802E8D?
- The RGB value is 128, 46, 141: 128 red, 46 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #802E8D?
- The complementary color is #3B8D2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #802E8D?
- White text. Black text has a contrast ratio of 2.69:1 and white text 7.8:1. WCAG asks for at least 4.5:1 for normal text.