#80218A#80218A

#80218A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.178 H 323.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#80218A
RGBrgb(128, 33, 138)
HSLhsl(294, 61%, 34%)
HSVhsv(294, 76%, 54%)
CMYKcmyk(7.2%, 76.1%, 0%, 45.9%)
CIE-LABlab(32.95, 53.29, -37.67)
CIE-LCHlch(32.95, 65.26, 324.74°)
OKLaboklab(44.53% 0.1434 -0.1051)
OKLCHoklch(44.53% 0.178 323.8)
XYZxyz(14.0330, 7.5128, 24.7508)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80218A #2B8A21
analogous
#4B218A #80218A #8A215F
triadic
#80218A #8A8021 #218A80
tetradic
#80218A #8A4B21 #2B8A21 #215F8A
square
#80218A #8A4B21 #2B8A21 #215F8A
split-complementary
#80218A #5F8A21 #218A4B
monochromatic
#240927 #521559 #80218A #AE2DBB #C950D5

Accessibility & contrast

On white

8.39
#80218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#80218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80218A
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80218A#FFFFFF#000000##FFFFFF
##80218A1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#345188
Tritanopia (blue-blind)
#823454
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #80218a;
/* rgb */ color: rgb(128, 33, 138);
/* oklch */ color: oklch(44.5% 0.178 323.8);
Tailwind
colors: {
  custom: {
    50: '#a867ad',
    500: '#80218a',
    950: '#000000',
  },
}
SCSS
$custom: #80218a;
$custom-light: #a867ad;
$custom-dark: #000000;
JSON
{
  "hex": "#80218a",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 294.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44531,
    "c": 0.17777,
    "h": 323.8
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#80218A
secondary
#58B94E
accent
#E54353
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80218A

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

Preview Lab → · Contrast checker → · Palette generator →

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