#81147D#81147D

#81147D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.180 H 329.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#81147D
RGBrgb(129, 20, 125)
HSLhsl(302, 73%, 29%)
HSVhsv(302, 84%, 51%)
CMYKcmyk(0%, 84.5%, 3.1%, 49.4%)
CIE-LABlab(30.99, 55.09, -32.66)
CIE-LCHlch(30.99, 64.04, 329.34°)
OKLaboklab(42.92% 0.1559 -0.0904)
OKLCHoklch(42.92% 0.18 329.9)
XYZxyz(13.0050, 6.6492, 19.9965)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81147D #148118
analogous
#4F1481 #81147D #811447
triadic
#81147D #7D8114 #147D81
tetradic
#81147D #814F14 #148118 #144781
square
#81147D #814F14 #148118 #144781
split-complementary
#81147D #478114 #14814F
monochromatic
#1A041A #4C0C4A #81147D #B61CB0 #DF30D9

Accessibility & contrast

On white

9.01
#81147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#81147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81147D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81147D#FFFFFF#000000##FFFFFF
##81147D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#86264A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81147d;
/* rgb */ color: rgb(129, 20, 125);
/* oklch */ color: oklch(42.9% 0.180 329.9);
Tailwind
colors: {
  custom: {
    50: '#a962a3',
    500: '#81147d',
    950: '#000000',
  },
}
SCSS
$custom: #81147d;
$custom-light: #a962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#81147d",
  "rgb": {
    "r": 129,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 302.202,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.18017,
    "h": 329.9
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#81147D
secondary
#3BB63F
accent
#F03F38
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81147D

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

Preview Lab → · Contrast checker → · Palette generator →

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