#80228B#80228B

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

Color values

HEX#80228B
RGBrgb(128, 34, 139)
HSLhsl(294, 61%, 34%)
HSVhsv(294, 76%, 55%)
CMYKcmyk(7.9%, 75.5%, 0%, 45.5%)
CIE-LABlab(33.13, 53.12, -37.99)
CIE-LCHlch(33.13, 65.31, 324.43°)
OKLaboklab(44.68% 0.1424 -0.106)
OKLCHoklch(44.68% 0.178 323.3)
XYZxyz(14.1339, 7.5982, 25.1432)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80228B #2D8B22
analogous
#4C228B #80228B #8B2262
triadic
#80228B #8B8022 #228B80
tetradic
#80228B #8B4C22 #2D8B22 #22628B
square
#80228B #8B4C22 #2D8B22 #22628B
split-complementary
#80228B #628B22 #228B4C
monochromatic
#250A29 #53165A #80228B #AD2EBC #C753D5

Accessibility & contrast

On white

8.34
#80228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#80228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80228B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80228B#FFFFFF#000000##FFFFFF
##80228B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#345289
Tritanopia (blue-blind)
#823555
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80228b;
/* rgb */ color: rgb(128, 34, 139);
/* oklch */ color: oklch(44.7% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#a868ad',
    500: '#80228b',
    950: '#000000',
  },
}
SCSS
$custom: #80228b;
$custom-light: #a868ad;
$custom-dark: #000000;
JSON
{
  "hex": "#80228b",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 293.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44683,
    "c": 0.17751,
    "h": 323.3
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#80228B
secondary
#5BB850
accent
#E44455
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80228B

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

Preview Lab → · Contrast checker → · Palette generator →

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