#81167F#81167F

#81167F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.180 H 329.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#81167F
RGBrgb(129, 22, 127)
HSLhsl(301, 71%, 30%)
HSVhsv(301, 83%, 51%)
CMYKcmyk(0%, 82.9%, 1.6%, 49.4%)
CIE-LABlab(31.29, 54.91, -33.45)
CIE-LCHlch(31.29, 64.30, 328.65°)
OKLaboklab(43.17% 0.1544 -0.0927)
OKLCHoklch(43.17% 0.18 329)
XYZxyz(13.1708, 6.7743, 20.6884)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81167F #168118
analogous
#4D1681 #81167F #81164A
triadic
#81167F #7F8116 #167F81
tetradic
#81167F #814D16 #168118 #164A81
square
#81167F #814D16 #168118 #164A81
split-complementary
#81167F #4A8116 #16814D
monochromatic
#1A041A #4D0D4C #81167F #B51FB2 #DD35D9

Accessibility & contrast

On white

8.92
#81167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#81167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81167F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81167F#FFFFFF#000000##FFFFFF
##81167F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#384E7D
Tritanopia (blue-blind)
#86284B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81167f;
/* rgb */ color: rgb(129, 22, 127);
/* oklch */ color: oklch(43.2% 0.180 329.0);
Tailwind
colors: {
  custom: {
    50: '#a963a4',
    500: '#81167f',
    950: '#000000',
  },
}
SCSS
$custom: #81167f;
$custom-light: #a963a4;
$custom-dark: #000000;
JSON
{
  "hex": "#81167f",
  "rgb": {
    "r": 129,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 301.121,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.43166,
    "c": 0.18006,
    "h": 329
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#81167F
secondary
#3DB63F
accent
#EE3E3A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81167F

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

Preview Lab → · Contrast checker → · Palette generator →

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