#80176F#80176F

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

Color values

HEX#80176F
RGBrgb(128, 23, 111)
HSLhsl(310, 70%, 30%)
HSVhsv(310, 82%, 50%)
CMYKcmyk(0%, 82%, 13.3%, 49.8%)
CIE-LABlab(30.28, 51.89, -24.92)
CIE-LCHlch(30.28, 57.56, 334.35°)
OKLaboklab(42.12% 0.1523 -0.068)
OKLCHoklch(42.12% 0.167 335.9)
XYZxyz(12.0779, 6.3508, 15.6256)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80176F #178028
analogous
#5C1780 #80176F #80173B
triadic
#80176F #6F8017 #176F80
tetradic
#80176F #805C17 #178028 #173B80
square
#80176F #805C17 #178028 #173B80
split-complementary
#80176F #3B8017 #17805C
monochromatic
#1A0516 #4C0E42 #80176F #B4209C #DB36C0

Accessibility & contrast

On white

9.25
#80176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#80176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80176F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80176F#FFFFFF#000000##FFFFFF
##80176F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#3F4D6D
Tritanopia (blue-blind)
#872042
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #80176f;
/* rgb */ color: rgb(128, 23, 111);
/* oklch */ color: oklch(42.1% 0.167 335.9);
Tailwind
colors: {
  custom: {
    50: '#a86298',
    500: '#80176f',
    950: '#000000',
  },
}
SCSS
$custom: #80176f;
$custom-light: #a86298;
$custom-dark: #000000;
JSON
{
  "hex": "#80176f",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 309.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42118,
    "c": 0.16681,
    "h": 335.9
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#80176F
secondary
#3EB451
accent
#EC583B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #80176F

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

Preview Lab → · Contrast checker → · Palette generator →

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