#80409B#80409B

#80409B is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.2% C 0.152 H 314.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#80409B
RGBrgb(128, 64, 155)
HSLhsl(282, 42%, 43%)
HSVhsv(282, 59%, 61%)
CMYKcmyk(17.4%, 58.7%, 0%, 39.2%)
CIE-LABlab(38.94, 42.97, -38.50)
CIE-LCHlch(38.94, 57.69, 318.14°)
OKLaboklab(49.19% 0.1067 -0.1077)
OKLCHoklch(49.19% 0.152 314.7)
XYZxyz(16.6509, 10.6231, 32.1773)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80409B #5B9B40
analogous
#52409B #80409B #9B4088
triadic
#80409B #9B8040 #409B80
tetradic
#80409B #9B5240 #5B9B40 #40889B
square
#80409B #9B5240 #5B9B40 #40889B
split-complementary
#80409B #889B40 #409B52
monochromatic
#381C44 #5C2E70 #80409B #A05CBC #B988CE

Accessibility & contrast

On white

6.72
#80409B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#80409B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #80409B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80409B#FFFFFF#000000##FFFFFF
##80409B1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589E
Deuteranopia (green-blind)
#3E5D99
Tritanopia (blue-blind)
#7E4F67
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #80409b;
/* rgb */ color: rgb(128, 64, 155);
/* oklch */ color: oklch(49.2% 0.152 314.7);
Tailwind
colors: {
  custom: {
    50: '#a778b9',
    500: '#80409b',
    950: '#000000',
  },
}
SCSS
$custom: #80409b;
$custom-light: #a778b9;
$custom-dark: #000000;
JSON
{
  "hex": "#80409b",
  "rgb": {
    "r": 128,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 282.198,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49186,
    "c": 0.1516,
    "h": 314.7
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#80409B
secondary
#90B87E
accent
#D1567B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #80409B

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

Preview Lab → · Contrast checker → · Palette generator →

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