#81197F#81197F

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

Color values

HEX#81197F
RGBrgb(129, 25, 127)
HSLhsl(301, 68%, 30%)
HSVhsv(301, 81%, 51%)
CMYKcmyk(0%, 80.6%, 1.6%, 49.4%)
CIE-LABlab(31.57, 54.10, -33.00)
CIE-LCHlch(31.57, 63.37, 328.62°)
OKLaboklab(43.37% 0.152 -0.0914)
OKLCHoklch(43.37% 0.177 329)
XYZxyz(13.2315, 6.8957, 20.7087)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81197F #19811B
analogous
#4F1981 #81197F #81194B
triadic
#81197F #7F8119 #197F81
tetradic
#81197F #814F19 #19811B #194B81
square
#81197F #814F19 #19811B #194B81
split-complementary
#81197F #4B8119 #19814F
monochromatic
#1A051A #4E0F4D #81197F #B423B1 #D93BD6

Accessibility & contrast

On white

8.83
#81197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#81197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81197F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81197F#FFFFFF#000000##FFFFFF
##81197F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014282
Deuteranopia (green-blind)
#394F7D
Tritanopia (blue-blind)
#862A4C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81197f;
/* rgb */ color: rgb(129, 25, 127);
/* oklch */ color: oklch(43.4% 0.177 329.0);
Tailwind
colors: {
  custom: {
    50: '#a964a4',
    500: '#81197f',
    950: '#000000',
  },
}
SCSS
$custom: #81197f;
$custom-light: #a964a4;
$custom-dark: #000000;
JSON
{
  "hex": "#81197f",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 301.154,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43366,
    "c": 0.17741,
    "h": 329
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#81197F
secondary
#41B543
accent
#EA413D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81197F

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

Preview Lab → · Contrast checker → · Palette generator →

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