#81187B#81187B

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

Color values

HEX#81187B
RGBrgb(129, 24, 123)
HSLhsl(303, 69%, 30%)
HSVhsv(303, 81%, 51%)
CMYKcmyk(0%, 81.4%, 4.7%, 49.4%)
CIE-LABlab(31.23, 53.72, -31.02)
CIE-LCHlch(31.23, 62.03, 330.00°)
OKLaboklab(43.05% 0.1529 -0.0856)
OKLCHoklch(43.05% 0.175 330.7)
XYZxyz(12.9550, 6.7515, 19.3559)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81187B #18811E
analogous
#531881 #81187B #811846
triadic
#81187B #7B8118 #187B81
tetradic
#81187B #815318 #18811E #184681
square
#81187B #815318 #18811E #184681
split-complementary
#81187B #468118 #188153
monochromatic
#1A0519 #4D0E4A #81187B #B522AC #DA39D1

Accessibility & contrast

On white

8.94
#81187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#81187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81187B
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81187B#FFFFFF#000000##FFFFFF
##81187B1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08407E
Deuteranopia (green-blind)
#3B4E79
Tritanopia (blue-blind)
#862749
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81187b;
/* rgb */ color: rgb(129, 24, 123);
/* oklch */ color: oklch(43.1% 0.175 330.7);
Tailwind
colors: {
  custom: {
    50: '#a963a1',
    500: '#81187b',
    950: '#000000',
  },
}
SCSS
$custom: #81187b;
$custom-light: #a963a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81187b",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 303.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.17526,
    "h": 330.7
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#81187B
secondary
#40B546
accent
#EB463C
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81187B

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

Preview Lab → · Contrast checker → · Palette generator →

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