#81197B#81197B

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

Color values

HEX#81197B
RGBrgb(129, 25, 123)
HSLhsl(303, 68%, 30%)
HSVhsv(303, 81%, 51%)
CMYKcmyk(0%, 80.6%, 4.7%, 49.4%)
CIE-LABlab(31.33, 53.44, -30.86)
CIE-LCHlch(31.33, 61.71, 329.99°)
OKLaboklab(43.12% 0.1521 -0.0852)
OKLCHoklch(43.12% 0.174 330.7)
XYZxyz(12.9760, 6.7935, 19.3629)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81197B #19811F
analogous
#531981 #81197B #811947
triadic
#81197B #7B8119 #197B81
tetradic
#81197B #815319 #19811F #194781
square
#81197B #815319 #19811F #194781
split-complementary
#81197B #478119 #198153
monochromatic
#1A0519 #4E0F4A #81197B #B423AC #D93BD0

Accessibility & contrast

On white

8.90
#81197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#81197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81197B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81197B#FFFFFF#000000##FFFFFF
##81197B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A417E
Deuteranopia (green-blind)
#3B4F79
Tritanopia (blue-blind)
#86284A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81197b;
/* rgb */ color: rgb(129, 25, 123);
/* oklch */ color: oklch(43.1% 0.174 330.7);
Tailwind
colors: {
  custom: {
    50: '#a964a1',
    500: '#81197b',
    950: '#000000',
  },
}
SCSS
$custom: #81197b;
$custom-light: #a964a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81197b",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 303.462,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43122,
    "c": 0.17433,
    "h": 330.7
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#81197B
secondary
#41B548
accent
#EA473D
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81197B

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

Preview Lab → · Contrast checker → · Palette generator →

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