#81127B#81127B

#81127B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.180 H 330.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#81127B
RGBrgb(129, 18, 123)
HSLhsl(303, 76%, 29%)
HSVhsv(303, 86%, 51%)
CMYKcmyk(0%, 86%, 4.7%, 49.4%)
CIE-LABlab(30.71, 55.23, -31.84)
CIE-LCHlch(30.71, 63.75, 330.04°)
OKLaboklab(42.68% 0.1573 -0.088)
OKLCHoklch(42.68% 0.18 330.8)
XYZxyz(12.8447, 6.5309, 19.3191)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81127B #128118
analogous
#501281 #81127B #811244
triadic
#81127B #7B8112 #127B81
tetradic
#81127B #815012 #128118 #124481
square
#81127B #815012 #128118 #124481
split-complementary
#81127B #448112 #128150
monochromatic
#1B041A #4B0B48 #81127B #B719AE #E22CD8

Accessibility & contrast

On white

9.11
#81127B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81127B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81127B#FFFFFF#000000##FFFFFF
##81127B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#394D79
Tritanopia (blue-blind)
#862448
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81127b;
/* rgb */ color: rgb(129, 18, 123);
/* oklch */ color: oklch(42.7% 0.180 330.8);
Tailwind
colors: {
  custom: {
    50: '#a961a1',
    500: '#81127b',
    950: '#000000',
  },
}
SCSS
$custom: #81127b;
$custom-light: #a961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81127b",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 123
  },
  "hsl": {
    "h": 303.243,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42682,
    "c": 0.18021,
    "h": 330.8
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#81127B
secondary
#38B73F
accent
#F24036
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81127B

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

Preview Lab → · Contrast checker → · Palette generator →

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