#801D72#801D72

#801D72 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.163 H 334.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#801D72
RGBrgb(128, 29, 114)
HSLhsl(308, 63%, 31%)
HSVhsv(308, 77%, 50%)
CMYKcmyk(0%, 77.3%, 10.9%, 49.8%)
CIE-LABlab(31.08, 50.53, -25.58)
CIE-LCHlch(31.08, 56.64, 333.15°)
OKLaboklab(42.74% 0.1471 -0.07)
OKLCHoklch(42.74% 0.163 334.6)
XYZxyz(12.3789, 6.6839, 16.5545)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D72 #1D802B
analogous
#5C1D80 #801D72 #801D40
triadic
#801D72 #72801D #1D7280
tetradic
#801D72 #805C1D #1D802B #1D4080
square
#801D72 #805C1D #1D802B #1D4080
split-complementary
#801D72 #40801D #1D805C
monochromatic
#1C0619 #4E1246 #801D72 #B2289E #D443C0

Accessibility & contrast

On white

8.99
#801D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#801D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801D72
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D72#FFFFFF#000000##FFFFFF
##801D721.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4074
Deuteranopia (green-blind)
#404E70
Tritanopia (blue-blind)
#862646
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #801d72;
/* rgb */ color: rgb(128, 29, 114);
/* oklch */ color: oklch(42.7% 0.163 334.6);
Tailwind
colors: {
  custom: {
    50: '#a8659b',
    500: '#801d72',
    950: '#000000',
  },
}
SCSS
$custom: #801d72;
$custom-light: #a8659b;
$custom-dark: #000000;
JSON
{
  "hex": "#801d72",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 308.485,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42742,
    "c": 0.16292,
    "h": 334.6
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#801D72
secondary
#45B355
accent
#E65942
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801D72

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

Preview Lab → · Contrast checker → · Palette generator →

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