#802E8D color

#802E8D rgb(128, 46, 141)
Shades of purple

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
RGBrgb(128, 46, 141)
RGB percentrgb(50.2%, 18%, 55.3%)
HSLhsl(292, 51%, 37%)
HSV / HSBhsv(292, 67%, 55%)
CMYKcmyk(9%, 67%, 0%, 45%)
CIE LABlab(34.94, 48.75, -36.34)
CIE LCHlch(34.94, 60.8, 323.29)
CIE XYZxyz(14.686, 8.467, 26.055)
Decimal8400525
Short hexNone (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 #802E8DRatioAAAAAAA large
Sample text2.69:1FailFailFail
Sample text7.8:1PassPassPass
#802E8D as text onRatioAAAAAAA large
Sample text7.8:1PassPassPass
Sample text2.69:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.