#801977#801977

#801977 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.171 H 332.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#801977
RGBrgb(128, 25, 119)
HSLhsl(305, 67%, 30%)
HSVhsv(305, 80%, 50%)
CMYKcmyk(0%, 80.5%, 7%, 49.8%)
CIE-LABlab(30.92, 52.57, -29.00)
CIE-LCHlch(30.92, 60.04, 331.12°)
OKLaboklab(42.72% 0.151 -0.0798)
OKLCHoklch(42.72% 0.171 332.1)
XYZxyz(12.5795, 6.6174, 18.0639)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801977 #198022
analogous
#561980 #801977 #801943
triadic
#801977 #778019 #197780
tetradic
#801977 #805619 #198022 #194380
square
#801977 #805619 #198022 #194380
split-complementary
#801977 #438019 #198056
monochromatic
#1A0518 #4D0F47 #801977 #B323A7 #D93BCB

Accessibility & contrast

On white

9.04
#801977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#801977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801977
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801977#FFFFFF#000000##FFFFFF
##8019771.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104079
Deuteranopia (green-blind)
#3C4E75
Tritanopia (blue-blind)
#862647
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #801977;
/* rgb */ color: rgb(128, 25, 119);
/* oklch */ color: oklch(42.7% 0.171 332.1);
Tailwind
colors: {
  custom: {
    50: '#a8639e',
    500: '#801977',
    950: '#000000',
  },
}
SCSS
$custom: #801977;
$custom-light: #a8639e;
$custom-dark: #000000;
JSON
{
  "hex": "#801977",
  "rgb": {
    "r": 128,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 305.243,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.17079,
    "h": 332.1
  },
  "luminance": 0.06616
}

Semantic roles & 50–950 ramp

primary
#801977
secondary
#41B44B
accent
#EA4D3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801977

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

Preview Lab → · Contrast checker → · Palette generator →

#801977 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva