#802F8E color
The hex color #802F8E is a dark, moderate magenta.
In the RGB color model it is made of 50.2% red, 18.4% green and 55.7% blue (128, 47, 142).
Its hue angle is 291°, with 50% saturation and 37% lightness. For print, the CMYK equivalent is 10% cyan, 67% magenta, 0% yellow and 44% black.
The closest named color is Hello Darkness My Old Friend (#802280), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.73:1).
#802F8E color codes
| HEX | #802F8E | |
|---|---|---|
| RGB | rgb(128, 47, 142) | |
| RGB percent | rgb(50.2%, 18.4%, 55.7%) | |
| HSL | hsl(291, 50%, 37%) | |
| HSV / HSB | hsv(291, 67%, 56%) | |
| CMYK | cmyk(10%, 67%, 0%, 44%) | |
| CIE LAB | lab(35.15, 48.5, -36.61) | |
| CIE LCH | lch(35.15, 60.77, 322.95) | |
| CIE XYZ | xyz(14.801, 8.576, 26.462) | |
| Decimal | 8400782 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #802F8E, 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 #802F8E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.72:1 | Fail | Fail | Fail |
| Sample text | 7.73:1 | Pass | Pass | Pass |
| #802F8E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.73:1 | Pass | Pass | Pass |
| Sample text | 2.72: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 #802F8E looks to people with the most common types of color vision deficiency.
#154d91Protanopia
no red cones#3a568cDeuteranopia
no green cones#813f5aTritanopia
no blue cones#535353Achromatopsia
no color vision
CSS examples
.background { background-color: #802f8e; }
.text { color: #802f8e; }
.border { border: 2px solid #802f8e; }
.transparent { background-color: rgb(128 47 142 / 50%); }
.gradient { background: linear-gradient(to right, #802f8e, #8e2f6d); }
Similar colors
#802280Hello Darkness My Old Friend#733c8ePerkin Mauve#853682Purple Sultan#772299Orb of Discord#952e8fWarm Purple#8b008bDark Magenta#6b327bGalactic Grapevine#8833aaPleasant Purple
Questions
- What color is #802F8E?
- #802F8E 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 #802F8E?
- The RGB value is 128, 47, 142: 128 red, 47 green and 142 blue on a 0 to 255 scale.
- What is the complementary color of #802F8E?
- The complementary color is #3D8E2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #802F8E?
- White text. Black text has a contrast ratio of 2.72:1 and white text 7.73:1. WCAG asks for at least 4.5:1 for normal text.