#80288E#80288E

#80288E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.173 H 321.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#80288E
RGBrgb(128, 40, 142)
HSLhsl(292, 56%, 36%)
HSVhsv(292, 72%, 56%)
CMYKcmyk(9.9%, 71.8%, 0%, 44.3%)
CIE-LABlab(34.11, 51.44, -38.28)
CIE-LCHlch(34.11, 64.12, 323.35°)
OKLaboklab(45.44% 0.1361 -0.1069)
OKLCHoklch(45.44% 0.173 321.8)
XYZxyz(14.5428, 8.0606, 26.3758)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80288E #368E28
analogous
#4D288E #80288E #8E2869
triadic
#80288E #8E8028 #288E80
tetradic
#80288E #8E4D28 #368E28 #28698E
square
#80288E #8E4D28 #368E28 #28698E
split-complementary
#80288E #698E28 #288E4D
monochromatic
#2A0D2F #551B5E #80288E #AB35BE #C25FD2

Accessibility & contrast

On white

8.04
#80288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#80288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80288E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80288E#FFFFFF#000000##FFFFFF
##80288E1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#35538C
Tritanopia (blue-blind)
#813A58
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #80288e;
/* rgb */ color: rgb(128, 40, 142);
/* oklch */ color: oklch(45.4% 0.173 321.8);
Tailwind
colors: {
  custom: {
    50: '#a86aaf',
    500: '#80288e',
    950: '#000000',
  },
}
SCSS
$custom: #80288e;
$custom-light: #a86aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#80288e",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 291.765,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.17309,
    "h": 321.8
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#80288E
secondary
#67B75B
accent
#DF485D
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80288E

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

Preview Lab → · Contrast checker → · Palette generator →

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