#81127C#81127C

#81127C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.181 H 330.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#81127C
RGBrgb(129, 18, 124)
HSLhsl(303, 76%, 29%)
HSVhsv(303, 86%, 51%)
CMYKcmyk(0%, 86%, 3.9%, 49.4%)
CIE-LABlab(30.77, 55.39, -32.38)
CIE-LCHlch(30.77, 64.16, 329.69°)
OKLaboklab(42.74% 0.1572 -0.0896)
OKLCHoklch(42.74% 0.181 330.3)
XYZxyz(12.9076, 6.5560, 19.6505)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81127C #128117
analogous
#4F1281 #81127C #811245
triadic
#81127C #7C8112 #127C81
tetradic
#81127C #814F12 #128117 #124581
square
#81127C #814F12 #128117 #124581
split-complementary
#81127C #458112 #12814F
monochromatic
#1B041A #4B0B48 #81127C #B719B0 #E22CD9

Accessibility & contrast

On white

9.09
#81127C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#81127C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81127C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81127C#FFFFFF#000000##FFFFFF
##81127C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#384D7A
Tritanopia (blue-blind)
#862549
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81127c;
/* rgb */ color: rgb(129, 18, 124);
/* oklch */ color: oklch(42.7% 0.181 330.3);
Tailwind
colors: {
  custom: {
    50: '#a962a2',
    500: '#81127c',
    950: '#000000',
  },
}
SCSS
$custom: #81127c;
$custom-light: #a962a2;
$custom-dark: #000000;
JSON
{
  "hex": "#81127c",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 124
  },
  "hsl": {
    "h": 302.703,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42744,
    "c": 0.18095,
    "h": 330.3
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#81127C
secondary
#38B73E
accent
#F23E36
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81127C

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

Preview Lab → · Contrast checker → · Palette generator →

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