#81197E#81197E

#81197E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.177 H 329.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#81197E
RGBrgb(129, 25, 126)
HSLhsl(302, 68%, 30%)
HSVhsv(302, 81%, 51%)
CMYKcmyk(0%, 80.6%, 2.3%, 49.4%)
CIE-LABlab(31.51, 53.93, -32.47)
CIE-LCHlch(31.51, 62.95, 328.95°)
OKLaboklab(43.3% 0.1521 -0.0899)
OKLCHoklch(43.3% 0.177 329.4)
XYZxyz(13.1667, 6.8698, 20.3671)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81197E #19811C
analogous
#501981 #81197E #81194A
triadic
#81197E #7E8119 #197E81
tetradic
#81197E #815019 #19811C #194A81
square
#81197E #815019 #19811C #194A81
split-complementary
#81197E #4A8119 #198150
monochromatic
#1A051A #4E0F4C #81197E #B423B0 #D93BD5

Accessibility & contrast

On white

8.85
#81197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81197E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81197E#FFFFFF#000000##FFFFFF
##81197E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034181
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#86294B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81197e;
/* rgb */ color: rgb(129, 25, 126);
/* oklch */ color: oklch(43.3% 0.177 329.4);
Tailwind
colors: {
  custom: {
    50: '#a964a4',
    500: '#81197e',
    950: '#000000',
  },
}
SCSS
$custom: #81197e;
$custom-light: #a964a4;
$custom-dark: #000000;
JSON
{
  "hex": "#81197e",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 301.731,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43304,
    "c": 0.17663,
    "h": 329.4
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#81197E
secondary
#41B544
accent
#EA423D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81197E

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

Preview Lab → · Contrast checker → · Palette generator →

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