#811972#811972

#811972 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.168 H 334.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#811972
RGBrgb(129, 25, 114)
HSLhsl(309, 68%, 30%)
HSVhsv(309, 81%, 51%)
CMYKcmyk(0%, 80.6%, 11.6%, 49.4%)
CIE-LABlab(30.83, 52.01, -25.96)
CIE-LCHlch(30.83, 58.13, 333.48°)
OKLaboklab(42.6% 0.1518 -0.071)
OKLCHoklch(42.6% 0.168 334.9)
XYZxyz(12.4383, 6.5784, 16.5310)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811972 #198128
analogous
#5C1981 #811972 #81193E
triadic
#811972 #728119 #197281
tetradic
#811972 #815C19 #198128 #193E81
square
#811972 #815C19 #198128 #193E81
split-complementary
#811972 #3E8119 #19815C
monochromatic
#1A0517 #4E0F45 #811972 #B4239F #D93BC2

Accessibility & contrast

On white

9.07
#811972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#811972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811972
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811972#FFFFFF#000000##FFFFFF
##8119721.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F74
Deuteranopia (green-blind)
#404E70
Tritanopia (blue-blind)
#882345
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811972;
/* rgb */ color: rgb(129, 25, 114);
/* oklch */ color: oklch(42.6% 0.168 334.9);
Tailwind
colors: {
  custom: {
    50: '#a9639b',
    500: '#811972',
    950: '#000000',
  },
}
SCSS
$custom: #811972;
$custom-light: #a9639b;
$custom-dark: #000000;
JSON
{
  "hex": "#811972",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 308.654,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42597,
    "c": 0.16762,
    "h": 334.9
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#811972
secondary
#41B552
accent
#EA563D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811972

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

Preview Lab → · Contrast checker → · Palette generator →

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