#80186F#80186F

#80186F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.166 H 335.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#80186F
RGBrgb(128, 24, 111)
HSLhsl(310, 68%, 30%)
HSVhsv(310, 81%, 50%)
CMYKcmyk(0%, 81.3%, 13.3%, 49.8%)
CIE-LABlab(30.38, 51.61, -24.76)
CIE-LCHlch(30.38, 57.24, 334.37°)
OKLaboklab(42.19% 0.1515 -0.0676)
OKLCHoklch(42.19% 0.166 335.9)
XYZxyz(12.0982, 6.3913, 15.6323)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80186F #188029
analogous
#5D1880 #80186F #80183B
triadic
#80186F #6F8018 #186F80
tetradic
#80186F #805D18 #188029 #183B80
square
#80186F #805D18 #188029 #183B80
split-complementary
#80186F #3B8018 #18805D
monochromatic
#1A0516 #4C0E42 #80186F #B4229C #DA39BF

Accessibility & contrast

On white

9.22
#80186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#80186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80186F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80186F#FFFFFF#000000##FFFFFF
##80186F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#872143
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #80186f;
/* rgb */ color: rgb(128, 24, 111);
/* oklch */ color: oklch(42.2% 0.166 335.9);
Tailwind
colors: {
  custom: {
    50: '#a86398',
    500: '#80186f',
    950: '#000000',
  },
}
SCSS
$custom: #80186f;
$custom-light: #a86398;
$custom-dark: #000000;
JSON
{
  "hex": "#80186f",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 309.808,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.16587,
    "h": 335.9
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#80186F
secondary
#40B453
accent
#EB593D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #80186F

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

Preview Lab → · Contrast checker → · Palette generator →

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