#801F76#801F76

#801F76 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.164 H 332.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#801F76
RGBrgb(128, 31, 118)
HSLhsl(306, 61%, 31%)
HSVhsv(306, 76%, 50%)
CMYKcmyk(0%, 75.8%, 7.8%, 49.8%)
CIE-LABlab(31.53, 50.50, -27.41)
CIE-LCHlch(31.53, 57.46, 331.51°)
OKLaboklab(43.14% 0.1454 -0.0753)
OKLCHoklch(43.14% 0.164 332.6)
XYZxyz(12.6621, 6.8782, 17.7968)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F76 #1F8029
analogous
#591F80 #801F76 #801F45
triadic
#801F76 #76801F #1F7680
tetradic
#801F76 #80591F #1F8029 #1F4580
square
#801F76 #80591F #1F8029 #1F4580
split-complementary
#801F76 #45801F #1F8059
monochromatic
#1D071B #4F1349 #801F76 #B12BA3 #D247C4

Accessibility & contrast

On white

8.84
#801F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801F76
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F76#FFFFFF#000000##FFFFFF
##801F761.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4178
Deuteranopia (green-blind)
#3F4F74
Tritanopia (blue-blind)
#862948
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801f76;
/* rgb */ color: rgb(128, 31, 118);
/* oklch */ color: oklch(43.1% 0.164 332.6);
Tailwind
colors: {
  custom: {
    50: '#a8669e',
    500: '#801f76',
    950: '#000000',
  },
}
SCSS
$custom: #801f76;
$custom-light: #a8669e;
$custom-dark: #000000;
JSON
{
  "hex": "#801f76",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 306.186,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43136,
    "c": 0.16372,
    "h": 332.6
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#801F76
secondary
#48B353
accent
#E45444
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801F76

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

Preview Lab → · Contrast checker → · Palette generator →

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