#80288C#80288C

#80288C is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.171 H 322.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#80288C
RGBrgb(128, 40, 140)
HSLhsl(293, 56%, 35%)
HSVhsv(293, 71%, 55%)
CMYKcmyk(8.6%, 71.4%, 0%, 45.1%)
CIE-LABlab(33.98, 51.06, -37.25)
CIE-LCHlch(33.98, 63.20, 323.89°)
OKLaboklab(45.31% 0.1362 -0.1039)
OKLCHoklch(45.31% 0.171 322.7)
XYZxyz(14.3940, 8.0010, 25.5920)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80288C #348C28
analogous
#4E288C #80288C #8C2866
triadic
#80288C #8C8028 #288C80
tetradic
#80288C #8C4E28 #348C28 #28668C
square
#80288C #8C4E28 #348C28 #28668C
split-complementary
#80288C #668C28 #288C4E
monochromatic
#290D2D #541A5C #80288C #AC36BC #C35ED1

Accessibility & contrast

On white

8.08
#80288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#80288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80288C
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80288C#FFFFFF#000000##FFFFFF
##80288C1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05498F
Deuteranopia (green-blind)
#37538A
Tritanopia (blue-blind)
#823957
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #80288c;
/* rgb */ color: rgb(128, 40, 140);
/* oklch */ color: oklch(45.3% 0.171 322.7);
Tailwind
colors: {
  custom: {
    50: '#a86aae',
    500: '#80288c',
    950: '#000000',
  },
}
SCSS
$custom: #80288c;
$custom-light: #a86aae;
$custom-dark: #000000;
JSON
{
  "hex": "#80288c",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 292.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.1713,
    "h": 322.7
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#80288C
secondary
#65B65A
accent
#DF495B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80288C

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

Preview Lab → · Contrast checker → · Palette generator →

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