#80228C#80228C

#80228C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.178 H 322.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#80228C
RGBrgb(128, 34, 140)
HSLhsl(293, 61%, 34%)
HSVhsv(293, 76%, 55%)
CMYKcmyk(8.6%, 75.7%, 0%, 45.1%)
CIE-LABlab(33.19, 53.31, -38.51)
CIE-LCHlch(33.19, 65.76, 324.16°)
OKLaboklab(44.75% 0.1423 -0.1076)
OKLCHoklch(44.75% 0.178 322.9)
XYZxyz(14.2073, 7.6275, 25.5298)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80228C #2E8C22
analogous
#4B228C #80228C #8C2263
triadic
#80228C #8C8022 #228C80
tetradic
#80228C #8C4B22 #2E8C22 #22638C
square
#80228C #8C4B22 #2E8C22 #22638C
split-complementary
#80228C #638C22 #228C4B
monochromatic
#260A2A #53165B #80228C #AD2EBD #C753D5

Accessibility & contrast

On white

8.32
#80228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#80228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80228C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80228C#FFFFFF#000000##FFFFFF
##80228C1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#33528A
Tritanopia (blue-blind)
#823655
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80228c;
/* rgb */ color: rgb(128, 34, 140);
/* oklch */ color: oklch(44.7% 0.178 322.9);
Tailwind
colors: {
  custom: {
    50: '#a868ae',
    500: '#80228c',
    950: '#000000',
  },
}
SCSS
$custom: #80228c;
$custom-light: #a868ae;
$custom-dark: #000000;
JSON
{
  "hex": "#80228c",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 293.208,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44748,
    "c": 0.17837,
    "h": 322.9
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#80228C
secondary
#5DB951
accent
#E44456
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80228C

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

Preview Lab → · Contrast checker → · Palette generator →

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