#801F72#801F72

#801F72 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.161 H 334.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#801F72
RGBrgb(128, 31, 114)
HSLhsl(309, 61%, 31%)
HSVhsv(309, 76%, 50%)
CMYKcmyk(0%, 75.8%, 10.9%, 49.8%)
CIE-LABlab(31.31, 49.86, -25.21)
CIE-LCHlch(31.31, 55.87, 333.18°)
OKLaboklab(42.91% 0.1451 -0.0689)
OKLCHoklch(42.91% 0.161 334.6)
XYZxyz(12.4295, 6.7852, 16.5714)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F72 #1F802D
analogous
#5D1F80 #801F72 #801F41
triadic
#801F72 #72801F #1F7280
tetradic
#801F72 #805D1F #1F802D #1F4180
square
#801F72 #805D1F #1F802D #1F4180
split-complementary
#801F72 #41801F #1F805D
monochromatic
#1D071A #4F1346 #801F72 #B12B9E #D247BE

Accessibility & contrast

On white

8.91
#801F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#801F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F72
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F72#FFFFFF#000000##FFFFFF
##801F721.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4174
Deuteranopia (green-blind)
#414F70
Tritanopia (blue-blind)
#862746
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801f72;
/* rgb */ color: rgb(128, 31, 114);
/* oklch */ color: oklch(42.9% 0.161 334.6);
Tailwind
colors: {
  custom: {
    50: '#a8659b',
    500: '#801f72',
    950: '#000000',
  },
}
SCSS
$custom: #801f72;
$custom-light: #a8659b;
$custom-dark: #000000;
JSON
{
  "hex": "#801f72",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 308.66,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42912,
    "c": 0.16067,
    "h": 334.6
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#801F72
secondary
#48B357
accent
#E45B44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801F72

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

Preview Lab → · Contrast checker → · Palette generator →

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