#80177C#80177C

#80177C is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.176 H 329.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#80177C
RGBrgb(128, 23, 124)
HSLhsl(302, 70%, 30%)
HSVhsv(302, 82%, 50%)
CMYKcmyk(0%, 82%, 3.1%, 49.8%)
CIE-LABlab(31.02, 53.94, -32.01)
CIE-LCHlch(31.02, 62.72, 329.32°)
OKLaboklab(42.88% 0.1526 -0.0885)
OKLCHoklch(42.88% 0.176 329.9)
XYZxyz(12.8465, 6.6583, 19.6734)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80177C #17801B
analogous
#501780 #80177C #801747
triadic
#80177C #7C8017 #177C80
tetradic
#80177C #805017 #17801B #174780
square
#80177C #805017 #17801B #174780
split-complementary
#80177C #478017 #178050
monochromatic
#1A0519 #4C0E4A #80177C #B420AE #DB36D5

Accessibility & contrast

On white

9.01
#80177C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#80177C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80177C
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80177C#FFFFFF#000000##FFFFFF
##80177C1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02407F
Deuteranopia (green-blind)
#394E7A
Tritanopia (blue-blind)
#85284A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #80177c;
/* rgb */ color: rgb(128, 23, 124);
/* oklch */ color: oklch(42.9% 0.176 329.9);
Tailwind
colors: {
  custom: {
    50: '#a863a2',
    500: '#80177c',
    950: '#000000',
  },
}
SCSS
$custom: #80177c;
$custom-light: #a863a2;
$custom-dark: #000000;
JSON
{
  "hex": "#80177c",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 124
  },
  "hsl": {
    "h": 302.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42881,
    "c": 0.17642,
    "h": 329.9
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#80177C
secondary
#3EB443
accent
#EC423B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80177C

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

Preview Lab → · Contrast checker → · Palette generator →

#80177C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva