#80166F#80166F

#80166F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.168 H 335.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#80166F
RGBrgb(128, 22, 111)
HSLhsl(310, 71%, 29%)
HSVhsv(310, 83%, 50%)
CMYKcmyk(0%, 82.8%, 13.3%, 49.8%)
CIE-LABlab(30.19, 52.16, -25.06)
CIE-LCHlch(30.19, 57.87, 334.33°)
OKLaboklab(42.05% 0.1531 -0.0685)
OKLCHoklch(42.05% 0.168 335.9)
XYZxyz(12.0584, 6.3118, 15.6191)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80166F #168027
analogous
#5C1680 #80166F #80163A
triadic
#80166F #6F8016 #166F80
tetradic
#80166F #805C16 #168027 #163A80
square
#80166F #805C16 #168027 #163A80
split-complementary
#80166F #3A8016 #16805C
monochromatic
#1A0417 #4C0D42 #80166F #B41F9C #DC34C1

Accessibility & contrast

On white

9.28
#80166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#80166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80166F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80166F#FFFFFF#000000##FFFFFF
##80166F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D71
Deuteranopia (green-blind)
#3F4D6D
Tritanopia (blue-blind)
#871F42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #80166f;
/* rgb */ color: rgb(128, 22, 111);
/* oklch */ color: oklch(42.1% 0.168 335.9);
Tailwind
colors: {
  custom: {
    50: '#a86298',
    500: '#80166f',
    950: '#000000',
  },
}
SCSS
$custom: #80166f;
$custom-light: #a86298;
$custom-dark: #000000;
JSON
{
  "hex": "#80166f",
  "rgb": {
    "r": 128,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 309.623,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42051,
    "c": 0.16773,
    "h": 335.9
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#80166F
secondary
#3DB550
accent
#ED573A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #80166F

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

Preview Lab → · Contrast checker → · Palette generator →

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