#81197A#81197A

#81197A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.174 H 331.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#81197A
RGBrgb(129, 25, 122)
HSLhsl(304, 68%, 30%)
HSVhsv(304, 81%, 51%)
CMYKcmyk(0%, 80.6%, 5.4%, 49.4%)
CIE-LABlab(31.27, 53.28, -30.32)
CIE-LCHlch(31.27, 61.30, 330.35°)
OKLaboklab(43.06% 0.1521 -0.0836)
OKLCHoklch(43.06% 0.174 331.2)
XYZxyz(12.9137, 6.7686, 19.0349)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81197A #198120
analogous
#541981 #81197A #811946
triadic
#81197A #7A8119 #197A81
tetradic
#81197A #815419 #198120 #194681
square
#81197A #815419 #198120 #194681
split-complementary
#81197A #468119 #198154
monochromatic
#1A0519 #4E0F4A #81197A #B423AA #D93BCE

Accessibility & contrast

On white

8.92
#81197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#81197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81197A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81197A#FFFFFF#000000##FFFFFF
##81197A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417D
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#862749
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81197a;
/* rgb */ color: rgb(129, 25, 122);
/* oklch */ color: oklch(43.1% 0.174 331.2);
Tailwind
colors: {
  custom: {
    50: '#a964a1',
    500: '#81197a',
    950: '#000000',
  },
}
SCSS
$custom: #81197a;
$custom-light: #a964a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81197a",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 304.038,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.17357,
    "h": 331.2
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#81197A
secondary
#41B549
accent
#EA493D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #81197A

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

Preview Lab → · Contrast checker → · Palette generator →

#81197A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva