#801F77#801F77

#801F77 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.165 H 332.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#801F77
RGBrgb(128, 31, 119)
HSLhsl(306, 61%, 31%)
HSVhsv(306, 76%, 50%)
CMYKcmyk(0%, 75.8%, 7%, 49.8%)
CIE-LABlab(31.58, 50.67, -27.95)
CIE-LCHlch(31.58, 57.87, 331.11°)
OKLaboklab(43.19% 0.1454 -0.0768)
OKLCHoklch(43.19% 0.165 332.1)
XYZxyz(12.7219, 6.9021, 18.1114)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F77 #1F8028
analogous
#581F80 #801F77 #801F46
triadic
#801F77 #77801F #1F7780
tetradic
#801F77 #80581F #1F8028 #1F4680
square
#801F77 #80581F #1F8028 #1F4680
split-complementary
#801F77 #46801F #1F8058
monochromatic
#1D071B #4F1349 #801F77 #B12BA5 #D247C5

Accessibility & contrast

On white

8.82
#801F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#801F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F77
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F77#FFFFFF#000000##FFFFFF
##801F771.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194279
Deuteranopia (green-blind)
#3F4F75
Tritanopia (blue-blind)
#862A49
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801f77;
/* rgb */ color: rgb(128, 31, 119);
/* oklch */ color: oklch(43.2% 0.165 332.1);
Tailwind
colors: {
  custom: {
    50: '#a8669e',
    500: '#801f77',
    950: '#000000',
  },
}
SCSS
$custom: #801f77;
$custom-light: #a8669e;
$custom-dark: #000000;
JSON
{
  "hex": "#801f77",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 305.567,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.1645,
    "h": 332.1
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#801F77
secondary
#48B352
accent
#E45344
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801F77

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

Preview Lab → · Contrast checker → · Palette generator →

#801F77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva