#80218E#80218E

#80218E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.181 H 322.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#80218E
RGBrgb(128, 33, 142)
HSLhsl(292, 62%, 34%)
HSVhsv(292, 77%, 56%)
CMYKcmyk(9.9%, 76.8%, 0%, 44.3%)
CIE-LABlab(33.20, 54.03, -39.73)
CIE-LCHlch(33.20, 67.06, 323.67°)
OKLaboklab(44.79% 0.1431 -0.1111)
OKLCHoklch(44.79% 0.181 322.2)
XYZxyz(14.3279, 7.6307, 26.3041)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80218E #2F8E21
analogous
#4A218E #80218E #8E2166
triadic
#80218E #8E8021 #218E80
tetradic
#80218E #8E4A21 #2F8E21 #21668E
square
#80218E #8E4A21 #2F8E21 #21668E
split-complementary
#80218E #668E21 #218E4A
monochromatic
#260A2B #53155C #80218E #AD2DC0 #C652D7

Accessibility & contrast

On white

8.31
#80218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#80218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80218E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80218E#FFFFFF#000000##FFFFFF
##80218E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #80218e;
/* rgb */ color: rgb(128, 33, 142);
/* oklch */ color: oklch(44.8% 0.181 322.2);
Tailwind
colors: {
  custom: {
    50: '#a867b0',
    500: '#80218e',
    950: '#000000',
  },
}
SCSS
$custom: #80218e;
$custom-light: #a867b0;
$custom-dark: #000000;
JSON
{
  "hex": "#80218e",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 292.294,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44794,
    "c": 0.18116,
    "h": 322.2
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#80218E
secondary
#5EBA50
accent
#E54257
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80218E

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

Preview Lab → · Contrast checker → · Palette generator →

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