#80187F#80187F

#80187F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.178 H 328.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#80187F
RGBrgb(128, 24, 127)
HSLhsl(301, 68%, 30%)
HSVhsv(301, 81%, 50%)
CMYKcmyk(0%, 81.3%, 0.8%, 49.8%)
CIE-LABlab(31.29, 54.17, -33.45)
CIE-LCHlch(31.29, 63.66, 328.30°)
OKLaboklab(43.14% 0.1517 -0.0927)
OKLCHoklch(43.14% 0.178 328.6)
XYZxyz(13.0594, 6.7758, 20.6946)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80187F #188019
analogous
#4D1880 #80187F #80184B
triadic
#80187F #7F8018 #187F80
tetradic
#80187F #804D18 #188019 #184B80
square
#80187F #804D18 #188019 #184B80
split-complementary
#80187F #4B8018 #18804D
monochromatic
#1A051A #4C0E4C #80187F #B422B2 #DA39D8

Accessibility & contrast

On white

8.92
#80187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#80187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80187F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80187F#FFFFFF#000000##FFFFFF
##80187F1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#374E7D
Tritanopia (blue-blind)
#842A4C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #80187f;
/* rgb */ color: rgb(128, 24, 127);
/* oklch */ color: oklch(43.1% 0.178 328.6);
Tailwind
colors: {
  custom: {
    50: '#a863a4',
    500: '#80187f',
    950: '#000000',
  },
}
SCSS
$custom: #80187f;
$custom-light: #a863a4;
$custom-dark: #000000;
JSON
{
  "hex": "#80187f",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 300.577,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43135,
    "c": 0.17784,
    "h": 328.6
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#80187F
secondary
#40B441
accent
#EB3E3D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80187F

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

Preview Lab → · Contrast checker → · Palette generator →

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