#80288B#80288B

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

Color values

HEX#80288B
RGBrgb(128, 40, 139)
HSLhsl(293, 55%, 35%)
HSVhsv(293, 71%, 55%)
CMYKcmyk(7.9%, 71.2%, 0%, 45.5%)
CIE-LABlab(33.92, 50.87, -36.73)
CIE-LCHlch(33.92, 62.74, 324.17°)
OKLaboklab(45.25% 0.1362 -0.1024)
OKLCHoklch(45.25% 0.17 323.1)
XYZxyz(14.3206, 7.9717, 25.2055)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80288B #338B28
analogous
#4E288B #80288B #8B2865
triadic
#80288B #8B8028 #288B80
tetradic
#80288B #8B4E28 #338B28 #28658B
square
#80288B #8B4E28 #338B28 #28658B
split-complementary
#80288B #658B28 #288B4E
monochromatic
#280D2C #541A5B #80288B #AC36BB #C45DD0

Accessibility & contrast

On white

8.09
#80288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80288B
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80288B#FFFFFF#000000##FFFFFF
##80288B1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#375389
Tritanopia (blue-blind)
#823956
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #80288b;
/* rgb */ color: rgb(128, 40, 139);
/* oklch */ color: oklch(45.2% 0.170 323.1);
Tailwind
colors: {
  custom: {
    50: '#a86aad',
    500: '#80288b',
    950: '#000000',
  },
}
SCSS
$custom: #80288b;
$custom-light: #a86aad;
$custom-dark: #000000;
JSON
{
  "hex": "#80288b",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 293.333,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.17041,
    "h": 323.1
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#80288B
secondary
#63B659
accent
#DF495A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80288B

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

Preview Lab → · Contrast checker → · Palette generator →

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