#802071#802071

#802071 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.159 H 335.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#802071
RGBrgb(128, 32, 113)
HSLhsl(309, 60%, 31%)
HSVhsv(309, 75%, 50%)
CMYKcmyk(0%, 75%, 11.7%, 49.8%)
CIE-LABlab(31.38, 49.35, -24.46)
CIE-LCHlch(31.38, 55.08, 333.63°)
OKLaboklab(42.95% 0.144 -0.0668)
OKLCHoklch(42.95% 0.159 335.1)
XYZxyz(12.3994, 6.8156, 16.2821)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802071 #20802F
analogous
#5F2080 #802071 #802041
triadic
#802071 #718020 #207180
tetradic
#802071 #805F20 #20802F #204180
square
#802071 #805F20 #20802F #204180
split-complementary
#802071 #418020 #20805F
monochromatic
#1E081B #4F1446 #802071 #B12C9C #D149BC

Accessibility & contrast

On white

8.89
#802071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#802071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802071
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802071#FFFFFF#000000##FFFFFF
##8020711.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#872846
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802071;
/* rgb */ color: rgb(128, 32, 113);
/* oklch */ color: oklch(42.9% 0.159 335.1);
Tailwind
colors: {
  custom: {
    50: '#a8669a',
    500: '#802071',
    950: '#000000',
  },
}
SCSS
$custom: #802071;
$custom-light: #a8669a;
$custom-dark: #000000;
JSON
{
  "hex": "#802071",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 309.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42945,
    "c": 0.15874,
    "h": 335.1
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#802071
secondary
#49B35A
accent
#E35D45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802071

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

Preview Lab → · Contrast checker → · Palette generator →

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