#81167D#81167D

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

Color values

HEX#81167D
RGBrgb(129, 22, 125)
HSLhsl(302, 71%, 30%)
HSVhsv(302, 83%, 51%)
CMYKcmyk(0%, 82.9%, 3.1%, 49.4%)
CIE-LABlab(31.17, 54.58, -32.38)
CIE-LCHlch(31.17, 63.47, 329.32°)
OKLaboklab(43.04% 0.1544 -0.0896)
OKLCHoklch(43.04% 0.179 329.9)
XYZxyz(13.0418, 6.7227, 20.0088)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81167D #16811A
analogous
#501681 #81167D #811648
triadic
#81167D #7D8116 #167D81
tetradic
#81167D #815016 #16811A #164881
square
#81167D #815016 #16811A #164881
split-complementary
#81167D #488116 #168150
monochromatic
#1A0419 #4D0D4A #81167D #B51FB0 #DD35D6

Accessibility & contrast

On white

8.96
#81167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81167D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81167D#FFFFFF#000000##FFFFFF
##81167D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81167d;
/* rgb */ color: rgb(129, 22, 125);
/* oklch */ color: oklch(43.0% 0.179 329.9);
Tailwind
colors: {
  custom: {
    50: '#a963a3',
    500: '#81167d',
    950: '#000000',
  },
}
SCSS
$custom: #81167d;
$custom-light: #a963a3;
$custom-dark: #000000;
JSON
{
  "hex": "#81167d",
  "rgb": {
    "r": 129,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 302.243,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.43042,
    "c": 0.17853,
    "h": 329.9
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#81167D
secondary
#3DB642
accent
#EE413A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81167D

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

Preview Lab → · Contrast checker → · Palette generator →

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