#801972#801972

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

Color values

HEX#801972
RGBrgb(128, 25, 114)
HSLhsl(308, 67%, 30%)
HSVhsv(308, 80%, 50%)
CMYKcmyk(0%, 80.5%, 10.9%, 49.8%)
CIE-LABlab(30.64, 51.78, -26.26)
CIE-LCHlch(30.64, 58.06, 333.10°)
OKLaboklab(42.43% 0.1508 -0.0719)
OKLCHoklch(42.43% 0.167 334.5)
XYZxyz(12.2871, 6.5005, 16.5239)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801972 #198027
analogous
#5A1980 #801972 #80193F
triadic
#801972 #728019 #197280
tetradic
#801972 #805A19 #198027 #193F80
square
#801972 #805A19 #198027 #193F80
split-complementary
#801972 #3F8019 #19805A
monochromatic
#1A0517 #4D0F44 #801972 #B323A0 #D93BC3

Accessibility & contrast

On white

9.13
#801972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801972
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801972#FFFFFF#000000##FFFFFF
##8019721.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F74
Deuteranopia (green-blind)
#3F4D70
Tritanopia (blue-blind)
#862345
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801972;
/* rgb */ color: rgb(128, 25, 114);
/* oklch */ color: oklch(42.4% 0.167 334.5);
Tailwind
colors: {
  custom: {
    50: '#a8639b',
    500: '#801972',
    950: '#000000',
  },
}
SCSS
$custom: #801972;
$custom-light: #a8639b;
$custom-dark: #000000;
JSON
{
  "hex": "#801972",
  "rgb": {
    "r": 128,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 308.155,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.42429,
    "c": 0.16707,
    "h": 334.5
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#801972
secondary
#41B450
accent
#EA553E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801972

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

Preview Lab → · Contrast checker → · Palette generator →

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