#81126F#81126F

#81126F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.172 H 336.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#81126F
RGBrgb(129, 18, 111)
HSLhsl(310, 76%, 29%)
HSVhsv(310, 86%, 51%)
CMYKcmyk(0%, 86%, 14%, 49.4%)
CIE-LABlab(30.03, 53.39, -25.29)
CIE-LCHlch(30.03, 59.08, 334.65°)
OKLaboklab(41.98% 0.1571 -0.0691)
OKLCHoklch(41.98% 0.172 336.3)
XYZxyz(12.1390, 6.2486, 15.6026)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81126F #128124
analogous
#5C1281 #81126F #811238
triadic
#81126F #6F8112 #126F81
tetradic
#81126F #815C12 #128124 #123881
square
#81126F #815C12 #128124 #123881
split-complementary
#81126F #388112 #12815C
monochromatic
#1B0417 #4B0B41 #81126F #B7199D #E22CC4

Accessibility & contrast

On white

9.34
#81126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#81126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81126F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81126F#FFFFFF#000000##FFFFFF
##81126F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#3F4C6D
Tritanopia (blue-blind)
#881C41
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #81126f;
/* rgb */ color: rgb(129, 18, 111);
/* oklch */ color: oklch(42.0% 0.172 336.3);
Tailwind
colors: {
  custom: {
    50: '#a96198',
    500: '#81126f',
    950: '#000000',
  },
}
SCSS
$custom: #81126f;
$custom-light: #a96198;
$custom-dark: #000000;
JSON
{
  "hex": "#81126f",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 309.73,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.17161,
    "h": 336.3
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#81126F
secondary
#38B74D
accent
#F25436
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #81126F

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

Preview Lab → · Contrast checker → · Palette generator →

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