#80287D#80287D

#80287D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.158 H 329.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#80287D
RGBrgb(128, 40, 125)
HSLhsl(302, 52%, 33%)
HSVhsv(302, 69%, 50%)
CMYKcmyk(0%, 68.8%, 2.3%, 49.8%)
CIE-LABlab(33.11, 48.30, -29.32)
CIE-LCHlch(33.11, 56.50, 328.75°)
OKLaboklab(44.4% 0.136 -0.0809)
OKLCHoklch(44.4% 0.158 329.3)
XYZxyz(13.3624, 7.5884, 20.1590)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80287D #28802B
analogous
#572880 #80287D #802851
triadic
#80287D #7D8028 #287D80
tetradic
#80287D #805728 #28802B #285180
square
#80287D #805728 #28802B #285180
split-complementary
#80287D #518028 #288057
monochromatic
#230B22 #51194F #80287D #AF37AB #CB58C7

Accessibility & contrast

On white

8.34
#80287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80287D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80287D#FFFFFF#000000##FFFFFF
##80287D1.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)
#1E467F
Deuteranopia (green-blind)
#40527B
Tritanopia (blue-blind)
#85334F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80287d;
/* rgb */ color: rgb(128, 40, 125);
/* oklch */ color: oklch(44.4% 0.158 329.3);
Tailwind
colors: {
  custom: {
    50: '#a86aa3',
    500: '#80287d',
    950: '#000000',
  },
}
SCSS
$custom: #80287d;
$custom-light: #a86aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#80287d",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 302.045,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44401,
    "c": 0.15823,
    "h": 329.3
  },
  "luminance": 0.07587
}

Semantic roles & 50–950 ramp

primary
#80287D
secondary
#54B057
accent
#DC514C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #80287D

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

Preview Lab → · Contrast checker → · Palette generator →

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