#81197D#81197D

#81197D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.176 H 329.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#81197D
RGBrgb(129, 25, 125)
HSLhsl(302, 68%, 30%)
HSVhsv(302, 81%, 51%)
CMYKcmyk(0%, 80.6%, 3.1%, 49.4%)
CIE-LABlab(31.45, 53.77, -31.94)
CIE-LCHlch(31.45, 62.54, 329.29°)
OKLaboklab(43.24% 0.1521 -0.0883)
OKLCHoklch(43.24% 0.176 329.9)
XYZxyz(13.1025, 6.8441, 20.0290)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81197D #19811D
analogous
#511981 #81197D #811949
triadic
#81197D #7D8119 #197D81
tetradic
#81197D #815119 #19811D #194981
square
#81197D #815119 #19811D #194981
split-complementary
#81197D #498119 #198151
monochromatic
#1A051A #4E0F4B #81197D #B423AF #D93BD3

Accessibility & contrast

On white

8.87
#81197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#81197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81197D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81197D#FFFFFF#000000##FFFFFF
##81197D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054180
Deuteranopia (green-blind)
#3A4F7B
Tritanopia (blue-blind)
#86294B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81197d;
/* rgb */ color: rgb(129, 25, 125);
/* oklch */ color: oklch(43.2% 0.176 329.9);
Tailwind
colors: {
  custom: {
    50: '#a964a3',
    500: '#81197d',
    950: '#000000',
  },
}
SCSS
$custom: #81197d;
$custom-light: #a964a3;
$custom-dark: #000000;
JSON
{
  "hex": "#81197d",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 302.308,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43243,
    "c": 0.17587,
    "h": 329.9
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#81197D
secondary
#41B545
accent
#EA443D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81197D

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

Preview Lab → · Contrast checker → · Palette generator →

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