#81167E#81167E

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

Color values

HEX#81167E
RGBrgb(129, 22, 126)
HSLhsl(302, 71%, 30%)
HSVhsv(302, 83%, 51%)
CMYKcmyk(0%, 82.9%, 2.3%, 49.4%)
CIE-LABlab(31.23, 54.75, -32.92)
CIE-LCHlch(31.23, 63.88, 328.98°)
OKLaboklab(43.1% 0.1544 -0.0911)
OKLCHoklch(43.1% 0.179 329.4)
XYZxyz(13.1060, 6.7483, 20.3469)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81167E #168119
analogous
#4E1681 #81167E #811649
triadic
#81167E #7E8116 #167E81
tetradic
#81167E #814E16 #168119 #164981
square
#81167E #814E16 #168119 #164981
split-complementary
#81167E #498116 #16814E
monochromatic
#1A041A #4D0D4B #81167E #B51FB1 #DD35D8

Accessibility & contrast

On white

8.94
#81167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81167E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81167E#FFFFFF#000000##FFFFFF
##81167E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#86284B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81167e;
/* rgb */ color: rgb(129, 22, 126);
/* oklch */ color: oklch(43.1% 0.179 329.4);
Tailwind
colors: {
  custom: {
    50: '#a963a4',
    500: '#81167e',
    950: '#000000',
  },
}
SCSS
$custom: #81167e;
$custom-light: #a963a4;
$custom-dark: #000000;
JSON
{
  "hex": "#81167e",
  "rgb": {
    "r": 129,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 301.682,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.43104,
    "c": 0.17929,
    "h": 329.4
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#81167E
secondary
#3DB641
accent
#EE3F3A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81167E

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

Preview Lab → · Contrast checker → · Palette generator →

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