#80288A#80288A

#80288A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.170 H 323.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#80288A
RGBrgb(128, 40, 138)
HSLhsl(294, 55%, 35%)
HSVhsv(294, 71%, 54%)
CMYKcmyk(7.2%, 71%, 0%, 45.9%)
CIE-LABlab(33.86, 50.68, -36.21)
CIE-LCHlch(33.86, 62.29, 324.46°)
OKLaboklab(45.19% 0.1362 -0.1009)
OKLCHoklch(45.19% 0.17 323.5)
XYZxyz(14.2479, 7.9426, 24.8224)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80288A #328A28
analogous
#4F288A #80288A #8A2863
triadic
#80288A #8A8028 #288A80
tetradic
#80288A #8A4F28 #328A28 #28638A
square
#80288A #8A4F28 #328A28 #28638A
split-complementary
#80288A #638A28 #288A4F
monochromatic
#280C2B #541A5B #80288A #AC36B9 #C45DD0

Accessibility & contrast

On white

8.11
#80288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#80288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80288A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80288A#FFFFFF#000000##FFFFFF
##80288A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498D
Deuteranopia (green-blind)
#385388
Tritanopia (blue-blind)
#823956
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #80288a;
/* rgb */ color: rgb(128, 40, 138);
/* oklch */ color: oklch(45.2% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#a86aad',
    500: '#80288a',
    950: '#000000',
  },
}
SCSS
$custom: #80288a;
$custom-light: #a86aad;
$custom-dark: #000000;
JSON
{
  "hex": "#80288a",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 293.878,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45186,
    "c": 0.16952,
    "h": 323.5
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#80288A
secondary
#62B559
accent
#DE4959
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80288A

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

Preview Lab → · Contrast checker → · Palette generator →

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