#80287E#80287E

#80287E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.159 H 328.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#80287E
RGBrgb(128, 40, 126)
HSLhsl(301, 52%, 33%)
HSVhsv(301, 69%, 50%)
CMYKcmyk(0%, 68.8%, 1.6%, 49.8%)
CIE-LABlab(33.17, 48.48, -29.85)
CIE-LCHlch(33.17, 56.94, 328.38°)
OKLaboklab(44.46% 0.1361 -0.0824)
OKLCHoklch(44.46% 0.159 328.8)
XYZxyz(13.4266, 7.6141, 20.4971)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80287E #28802A
analogous
#562880 #80287E #802852
triadic
#80287E #7E8028 #287E80
tetradic
#80287E #805628 #28802A #285280
square
#80287E #805628 #28802A #285280
split-complementary
#80287E #528028 #288056
monochromatic
#230B22 #511950 #80287E #AF37AC #CB58C8

Accessibility & contrast

On white

8.32
#80287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#80287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80287E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80287E#FFFFFF#000000##FFFFFF
##80287E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#3F527C
Tritanopia (blue-blind)
#84334F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80287e;
/* rgb */ color: rgb(128, 40, 126);
/* oklch */ color: oklch(44.5% 0.159 328.8);
Tailwind
colors: {
  custom: {
    50: '#a86aa4',
    500: '#80287e',
    950: '#000000',
  },
}
SCSS
$custom: #80287e;
$custom-light: #a86aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#80287e",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 301.364,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44459,
    "c": 0.15908,
    "h": 328.8
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#80287E
secondary
#54B056
accent
#DC4F4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #80287E

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

Preview Lab → · Contrast checker → · Palette generator →

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