#80218F#80218F

#80218F is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.182 H 321.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#80218F
RGBrgb(128, 33, 143)
HSLhsl(292, 63%, 35%)
HSVhsv(292, 77%, 56%)
CMYKcmyk(10.5%, 76.9%, 0%, 43.9%)
CIE-LABlab(33.27, 54.21, -40.24)
CIE-LCHlch(33.27, 67.52, 323.41°)
OKLaboklab(44.86% 0.143 -0.1126)
OKLCHoklch(44.86% 0.182 321.8)
XYZxyz(14.4033, 7.6609, 26.7013)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80218F #308F21
analogous
#49218F #80218F #8F2167
triadic
#80218F #8F8021 #218F80
tetradic
#80218F #8F4921 #308F21 #21678F
square
#80218F #8F4921 #308F21 #21678F
split-complementary
#80218F #678F21 #218F49
monochromatic
#270A2C #53165D #80218F #AD2CC1 #C553D7

Accessibility & contrast

On white

8.29
#80218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80218F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80218F#FFFFFF#000000##FFFFFF
##80218F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#30528C
Tritanopia (blue-blind)
#813757
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80218f;
/* rgb */ color: rgb(128, 33, 143);
/* oklch */ color: oklch(44.9% 0.182 321.8);
Tailwind
colors: {
  custom: {
    50: '#a867b0',
    500: '#80218f',
    950: '#000000',
  },
}
SCSS
$custom: #80218f;
$custom-light: #a867b0;
$custom-dark: #000000;
JSON
{
  "hex": "#80218f",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 291.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44861,
    "c": 0.18202,
    "h": 321.8
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#80218F
secondary
#5FBB51
accent
#E64259
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80218F

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

Preview Lab → · Contrast checker → · Palette generator →

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