#81167C#81167C

#81167C is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.178 H 330.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#81167C
RGBrgb(129, 22, 124)
HSLhsl(303, 71%, 30%)
HSVhsv(303, 83%, 51%)
CMYKcmyk(0%, 82.9%, 3.9%, 49.4%)
CIE-LABlab(31.11, 54.42, -31.85)
CIE-LCHlch(31.11, 63.06, 329.66°)
OKLaboklab(42.98% 0.1544 -0.088)
OKLCHoklch(42.98% 0.178 330.3)
XYZxyz(12.9782, 6.6972, 19.6740)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81167C #16811B
analogous
#511681 #81167C #811646
triadic
#81167C #7C8116 #167C81
tetradic
#81167C #815116 #16811B #164681
square
#81167C #815116 #16811B #164681
split-complementary
#81167C #468116 #168151
monochromatic
#1A0419 #4D0D4A #81167C #B51FAE #DD35D5

Accessibility & contrast

On white

8.98
#81167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#81167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81167C
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81167C#FFFFFF#000000##FFFFFF
##81167C1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02407F
Deuteranopia (green-blind)
#394E7A
Tritanopia (blue-blind)
#86274A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81167c;
/* rgb */ color: rgb(129, 22, 124);
/* oklch */ color: oklch(43.0% 0.178 330.3);
Tailwind
colors: {
  custom: {
    50: '#a963a2',
    500: '#81167c',
    950: '#000000',
  },
}
SCSS
$custom: #81167c;
$custom-light: #a963a2;
$custom-dark: #000000;
JSON
{
  "hex": "#81167c",
  "rgb": {
    "r": 129,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 302.804,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42981,
    "c": 0.17778,
    "h": 330.3
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#81167C
secondary
#3DB643
accent
#EE433A
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81167C

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

Preview Lab → · Contrast checker → · Palette generator →

#81167C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva