#81127D#81127D

#81127D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.182 H 329.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#81127D
RGBrgb(129, 18, 125)
HSLhsl(302, 76%, 29%)
HSVhsv(302, 86%, 51%)
CMYKcmyk(0%, 86%, 3.1%, 49.4%)
CIE-LABlab(30.83, 55.55, -32.91)
CIE-LCHlch(30.83, 64.57, 329.36°)
OKLaboklab(42.81% 0.1572 -0.0911)
OKLCHoklch(42.81% 0.182 329.9)
XYZxyz(12.9712, 6.5815, 19.9852)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81127D #128116
analogous
#4E1281 #81127D #811246
triadic
#81127D #7D8112 #127D81
tetradic
#81127D #814E12 #128116 #124681
square
#81127D #814E12 #128116 #124681
split-complementary
#81127D #468112 #12814E
monochromatic
#1B041A #4B0B49 #81127D #B719B1 #E22CDB

Accessibility & contrast

On white

9.07
#81127D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#81127D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81127D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81127D#FFFFFF#000000##FFFFFF
##81127D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#862549
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81127d;
/* rgb */ color: rgb(129, 18, 125);
/* oklch */ color: oklch(42.8% 0.182 329.9);
Tailwind
colors: {
  custom: {
    50: '#a962a3',
    500: '#81127d',
    950: '#000000',
  },
}
SCSS
$custom: #81127d;
$custom-light: #a962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#81127d",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 125
  },
  "hsl": {
    "h": 302.162,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.18169,
    "h": 329.9
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#81127D
secondary
#38B73D
accent
#F23C36
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81127D

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

Preview Lab → · Contrast checker → · Palette generator →

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