#80187B#80187B

#80187B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.175 H 330.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#80187B
RGBrgb(128, 24, 123)
HSLhsl(303, 68%, 30%)
HSVhsv(303, 81%, 50%)
CMYKcmyk(0%, 81.3%, 3.9%, 49.8%)
CIE-LABlab(31.05, 53.50, -31.32)
CIE-LCHlch(31.05, 61.99, 329.66°)
OKLaboklab(42.89% 0.1518 -0.0865)
OKLCHoklch(42.89% 0.175 330.3)
XYZxyz(12.8038, 6.6736, 19.3488)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80187B #18801D
analogous
#511880 #80187B #801847
triadic
#80187B #7B8018 #187B80
tetradic
#80187B #805118 #18801D #184780
square
#80187B #805118 #18801D #184780
split-complementary
#80187B #478018 #188051
monochromatic
#1A0519 #4C0E49 #80187B #B422AD #DA39D2

Accessibility & contrast

On white

9.00
#80187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#80187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80187B
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80187B#FFFFFF#000000##FFFFFF
##80187B1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407E
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#852849
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #80187b;
/* rgb */ color: rgb(128, 24, 123);
/* oklch */ color: oklch(42.9% 0.175 330.3);
Tailwind
colors: {
  custom: {
    50: '#a863a1',
    500: '#80187b',
    950: '#000000',
  },
}
SCSS
$custom: #80187b;
$custom-light: #a863a1;
$custom-dark: #000000;
JSON
{
  "hex": "#80187b",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 302.885,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42888,
    "c": 0.17476,
    "h": 330.3
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#80187B
secondary
#40B445
accent
#EB453D
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80187B

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

Preview Lab → · Contrast checker → · Palette generator →

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