#80218B#80218B

#80218B is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.179 H 323.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#80218B
RGBrgb(128, 33, 139)
HSLhsl(294, 62%, 34%)
HSVhsv(294, 76%, 55%)
CMYKcmyk(7.9%, 76.3%, 0%, 45.5%)
CIE-LABlab(33.01, 53.47, -38.19)
CIE-LCHlch(33.01, 65.71, 324.47°)
OKLaboklab(44.6% 0.1433 -0.1066)
OKLCHoklch(44.6% 0.179 323.4)
XYZxyz(14.1057, 7.5418, 25.1338)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80218B #2C8B21
analogous
#4B218B #80218B #8B2161
triadic
#80218B #8B8021 #218B80
tetradic
#80218B #8B4B21 #2C8B21 #21618B
square
#80218B #8B4B21 #2C8B21 #21618B
split-complementary
#80218B #618B21 #218B4B
monochromatic
#250A28 #52155A #80218B #AE2DBC #C851D6

Accessibility & contrast

On white

8.37
#80218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#80218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80218B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80218B#FFFFFF#000000##FFFFFF
##80218B1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#335189
Tritanopia (blue-blind)
#823555
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80218b;
/* rgb */ color: rgb(128, 33, 139);
/* oklch */ color: oklch(44.6% 0.179 323.4);
Tailwind
colors: {
  custom: {
    50: '#a867ad',
    500: '#80218b',
    950: '#000000',
  },
}
SCSS
$custom: #80218b;
$custom-light: #a867ad;
$custom-dark: #000000;
JSON
{
  "hex": "#80218b",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 293.774,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.17862,
    "h": 323.4
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

primary
#80218B
secondary
#5AB94F
accent
#E54354
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80218B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#80218B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva