#81167B#81167B

#81167B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.177 H 330.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#81167B
RGBrgb(129, 22, 123)
HSLhsl(303, 71%, 30%)
HSVhsv(303, 83%, 51%)
CMYKcmyk(0%, 82.9%, 4.7%, 49.4%)
CIE-LABlab(31.05, 54.26, -31.31)
CIE-LCHlch(31.05, 62.65, 330.01°)
OKLaboklab(42.92% 0.1545 -0.0865)
OKLCHoklch(42.92% 0.177 330.8)
XYZxyz(12.9153, 6.6721, 19.3427)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81167B #16811C
analogous
#511681 #81167B #811646
triadic
#81167B #7B8116 #167B81
tetradic
#81167B #815116 #16811C #164681
square
#81167B #815116 #16811C #164681
split-complementary
#81167B #468116 #168151
monochromatic
#1A0419 #4D0D49 #81167B #B51FAD #DD35D3

Accessibility & contrast

On white

9.00
#81167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#81167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81167B
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81167B#FFFFFF#000000##FFFFFF
##81167B1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407E
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#862649
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81167b;
/* rgb */ color: rgb(129, 22, 123);
/* oklch */ color: oklch(42.9% 0.177 330.8);
Tailwind
colors: {
  custom: {
    50: '#a963a1',
    500: '#81167b',
    950: '#000000',
  },
}
SCSS
$custom: #81167b;
$custom-light: #a963a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81167b",
  "rgb": {
    "r": 129,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 303.364,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.17703,
    "h": 330.8
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#81167B
secondary
#3DB644
accent
#EE443A
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81167B

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

Preview Lab → · Contrast checker → · Palette generator →

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