#80218D#80218D

#80218D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.180 H 322.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#80218D
RGBrgb(128, 33, 141)
HSLhsl(293, 62%, 34%)
HSVhsv(293, 77%, 55%)
CMYKcmyk(9.2%, 76.6%, 0%, 44.7%)
CIE-LABlab(33.14, 53.84, -39.22)
CIE-LCHlch(33.14, 66.61, 323.93°)
OKLaboklab(44.73% 0.1432 -0.1096)
OKLCHoklch(44.73% 0.18 322.6)
XYZxyz(14.2532, 7.6008, 25.9105)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80218D #2E8D21
analogous
#4A218D #80218D #8D2164
triadic
#80218D #8D8021 #218D80
tetradic
#80218D #8D4A21 #2E8D21 #21648D
square
#80218D #8D4A21 #2E8D21 #21648D
split-complementary
#80218D #648D21 #218D4A
monochromatic
#260A2A #53155B #80218D #AD2DBF #C752D6

Accessibility & contrast

On white

8.33
#80218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#80218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80218D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80218D#FFFFFF#000000##FFFFFF
##80218D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#32518B
Tritanopia (blue-blind)
#823656
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80218d;
/* rgb */ color: rgb(128, 33, 141);
/* oklch */ color: oklch(44.7% 0.180 322.6);
Tailwind
colors: {
  custom: {
    50: '#a867af',
    500: '#80218d',
    950: '#000000',
  },
}
SCSS
$custom: #80218d;
$custom-light: #a867af;
$custom-dark: #000000;
JSON
{
  "hex": "#80218d",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 292.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.18031,
    "h": 322.6
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#80218D
secondary
#5DBA50
accent
#E54356
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80218D

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

Preview Lab → · Contrast checker → · Palette generator →

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