#80228E#80228E

#80228E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.180 H 322.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#80228E
RGBrgb(128, 34, 142)
HSLhsl(292, 61%, 35%)
HSVhsv(292, 76%, 56%)
CMYKcmyk(9.9%, 76.1%, 0%, 44.3%)
CIE-LABlab(33.32, 53.68, -39.54)
CIE-LCHlch(33.32, 66.67, 323.63°)
OKLaboklab(44.88% 0.1422 -0.1106)
OKLCHoklch(44.88% 0.18 322.1)
XYZxyz(14.3561, 7.6871, 26.3135)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80228E #308E22
analogous
#4A228E #80228E #8E2266
triadic
#80228E #8E8022 #228E80
tetradic
#80228E #8E4A22 #308E22 #22668E
square
#80228E #8E4A22 #308E22 #22668E
split-complementary
#80228E #668E22 #228E4A
monochromatic
#270A2B #53165D #80228E #AD2EBF #C554D6

Accessibility & contrast

On white

8.28
#80228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#80228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80228E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80228E#FFFFFF#000000##FFFFFF
##80228E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#32528C
Tritanopia (blue-blind)
#823757
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80228e;
/* rgb */ color: rgb(128, 34, 142);
/* oklch */ color: oklch(44.9% 0.180 322.1);
Tailwind
colors: {
  custom: {
    50: '#a868b0',
    500: '#80228e',
    950: '#000000',
  },
}
SCSS
$custom: #80228e;
$custom-light: #a868b0;
$custom-dark: #000000;
JSON
{
  "hex": "#80228e",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 292.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4488,
    "c": 0.18008,
    "h": 322.1
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#80228E
secondary
#5FBA52
accent
#E44358
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80228E

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

Preview Lab → · Contrast checker → · Palette generator →

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