#81127A#81127A

#81127A is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.179 H 331.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#81127A
RGBrgb(129, 18, 122)
HSLhsl(304, 76%, 29%)
HSVhsv(304, 86%, 51%)
CMYKcmyk(0%, 86%, 5.4%, 49.4%)
CIE-LABlab(30.65, 55.07, -31.31)
CIE-LCHlch(30.65, 63.35, 330.38°)
OKLaboklab(42.62% 0.1573 -0.0864)
OKLCHoklch(42.62% 0.179 331.2)
XYZxyz(12.7824, 6.5060, 18.9911)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81127A #128119
analogous
#511281 #81127A #811243
triadic
#81127A #7A8112 #127A81
tetradic
#81127A #815112 #128119 #124381
square
#81127A #815112 #128119 #124381
split-complementary
#81127A #438112 #128151
monochromatic
#1B0419 #4B0B47 #81127A #B719AD #E22CD6

Accessibility & contrast

On white

9.13
#81127A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#81127A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81127A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81127A#FFFFFF#000000##FFFFFF
##81127A1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#872348
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81127a;
/* rgb */ color: rgb(129, 18, 122);
/* oklch */ color: oklch(42.6% 0.179 331.2);
Tailwind
colors: {
  custom: {
    50: '#a961a1',
    500: '#81127a',
    950: '#000000',
  },
}
SCSS
$custom: #81127a;
$custom-light: #a961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81127a",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 122
  },
  "hsl": {
    "h": 303.784,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42621,
    "c": 0.17948,
    "h": 331.2
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#81127A
secondary
#38B740
accent
#F24236
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #81127A

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

Preview Lab → · Contrast checker → · Palette generator →

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