#80177E#80177E

#80177E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.178 H 329.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#80177E
RGBrgb(128, 23, 126)
HSLhsl(301, 70%, 30%)
HSVhsv(301, 82%, 50%)
CMYKcmyk(0%, 82%, 1.6%, 49.8%)
CIE-LABlab(31.14, 54.27, -33.07)
CIE-LCHlch(31.14, 63.56, 328.64°)
OKLaboklab(43.01% 0.1526 -0.0916)
OKLCHoklch(43.01% 0.178 329)
XYZxyz(12.9743, 6.7094, 20.3463)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80177E #178019
analogous
#4E1780 #80177E #80174A
triadic
#80177E #7E8017 #177E80
tetradic
#80177E #804E17 #178019 #174A80
square
#80177E #804E17 #178019 #174A80
split-complementary
#80177E #4A8017 #17804E
monochromatic
#1A051A #4C0E4B #80177E #B420B1 #DB36D8

Accessibility & contrast

On white

8.97
#80177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#80177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80177E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80177E#FFFFFF#000000##FFFFFF
##80177E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#85294B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #80177e;
/* rgb */ color: rgb(128, 23, 126);
/* oklch */ color: oklch(43.0% 0.178 329.0);
Tailwind
colors: {
  custom: {
    50: '#a863a4',
    500: '#80177e',
    950: '#000000',
  },
}
SCSS
$custom: #80177e;
$custom-light: #a863a4;
$custom-dark: #000000;
JSON
{
  "hex": "#80177e",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 301.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.17796,
    "h": 329
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#80177E
secondary
#3EB441
accent
#EC3F3B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80177E

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

Preview Lab → · Contrast checker → · Palette generator →

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