#81127F#81127F

#81127F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.183 H 329.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#81127F
RGBrgb(129, 18, 127)
HSLhsl(301, 76%, 29%)
HSVhsv(301, 86%, 51%)
CMYKcmyk(0%, 86%, 1.6%, 49.4%)
CIE-LABlab(30.96, 55.88, -33.98)
CIE-LCHlch(30.96, 65.40, 328.70°)
OKLaboklab(42.93% 0.1571 -0.0942)
OKLCHoklch(42.93% 0.183 329)
XYZxyz(13.1002, 6.6331, 20.6649)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81127F #128114
analogous
#4C1281 #81127F #811248
triadic
#81127F #7F8112 #127F81
tetradic
#81127F #814C12 #128114 #124881
square
#81127F #814C12 #128114 #124881
split-complementary
#81127F #488112 #12814C
monochromatic
#1B041A #4B0B4A #81127F #B719B4 #E22CDE

Accessibility & contrast

On white

9.03
#81127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#81127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81127F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81127F#FFFFFF#000000##FFFFFF
##81127F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#364E7C
Tritanopia (blue-blind)
#86264B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81127f;
/* rgb */ color: rgb(129, 18, 127);
/* oklch */ color: oklch(42.9% 0.183 329.0);
Tailwind
colors: {
  custom: {
    50: '#a962a4',
    500: '#81127f',
    950: '#000000',
  },
}
SCSS
$custom: #81127f;
$custom-light: #a962a4;
$custom-dark: #000000;
JSON
{
  "hex": "#81127f",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 301.081,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.18318,
    "h": 329
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#81127F
secondary
#38B73B
accent
#F23936
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81127F

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

Preview Lab → · Contrast checker → · Palette generator →

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