#80167F#80167F

#80167F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.180 H 328.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#80167F
RGBrgb(128, 22, 127)
HSLhsl(301, 71%, 29%)
HSVhsv(301, 83%, 50%)
CMYKcmyk(0%, 82.8%, 0.8%, 49.8%)
CIE-LABlab(31.11, 54.70, -33.75)
CIE-LCHlch(31.11, 64.28, 328.33°)
OKLaboklab(43% 0.1533 -0.0936)
OKLCHoklch(43% 0.18 328.6)
XYZxyz(13.0196, 6.6963, 20.6813)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80167F #168017
analogous
#4C1680 #80167F #80164A
triadic
#80167F #7F8016 #167F80
tetradic
#80167F #804C16 #168017 #164A80
square
#80167F #804C16 #168017 #164A80
split-complementary
#80167F #4A8016 #16804C
monochromatic
#1A041A #4C0D4B #80167F #B41FB3 #DC34DB

Accessibility & contrast

On white

8.98
#80167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#80167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80167F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80167F#FFFFFF#000000##FFFFFF
##80167F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#374E7D
Tritanopia (blue-blind)
#84294B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #80167f;
/* rgb */ color: rgb(128, 22, 127);
/* oklch */ color: oklch(43.0% 0.180 328.6);
Tailwind
colors: {
  custom: {
    50: '#a963a4',
    500: '#80167f',
    950: '#000000',
  },
}
SCSS
$custom: #80167f;
$custom-light: #a963a4;
$custom-dark: #000000;
JSON
{
  "hex": "#80167f",
  "rgb": {
    "r": 128,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 300.566,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.43003,
    "c": 0.17958,
    "h": 328.6
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#80167F
secondary
#3DB53E
accent
#ED3C3A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80167F

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

Preview Lab → · Contrast checker → · Palette generator →

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