#801971#801971

#801971 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.166 H 335.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#801971
RGBrgb(128, 25, 113)
HSLhsl(309, 67%, 30%)
HSVhsv(309, 80%, 50%)
CMYKcmyk(0%, 80.5%, 11.7%, 49.8%)
CIE-LABlab(30.59, 51.62, -25.71)
CIE-LCHlch(30.59, 57.67, 333.52°)
OKLaboklab(42.37% 0.1507 -0.0703)
OKLCHoklch(42.37% 0.166 335)
XYZxyz(12.2305, 6.4778, 16.2258)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801971 #198028
analogous
#5C1980 #801971 #80193D
triadic
#801971 #718019 #197180
tetradic
#801971 #805C19 #198028 #193D80
square
#801971 #805C19 #198028 #193D80
split-complementary
#801971 #3D8019 #19805C
monochromatic
#1A0517 #4D0F44 #801971 #B3239E #D93BC2

Accessibility & contrast

On white

9.15
#801971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#801971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801971
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801971#FFFFFF#000000##FFFFFF
##8019711.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#872344
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801971;
/* rgb */ color: rgb(128, 25, 113);
/* oklch */ color: oklch(42.4% 0.166 335.0);
Tailwind
colors: {
  custom: {
    50: '#a8639a',
    500: '#801971',
    950: '#000000',
  },
}
SCSS
$custom: #801971;
$custom-light: #a8639a;
$custom-dark: #000000;
JSON
{
  "hex": "#801971",
  "rgb": {
    "r": 128,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 308.738,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.42373,
    "c": 0.16634,
    "h": 335
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#801971
secondary
#41B452
accent
#EA573E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801971

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

Preview Lab → · Contrast checker → · Palette generator →

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