#811276#811276

#811276 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.177 H 333.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#811276
RGBrgb(129, 18, 118)
HSLhsl(306, 76%, 29%)
HSVhsv(306, 86%, 51%)
CMYKcmyk(0%, 86%, 8.5%, 49.4%)
CIE-LABlab(30.42, 54.45, -29.14)
CIE-LCHlch(30.42, 61.75, 331.84°)
OKLaboklab(42.38% 0.1573 -0.0802)
OKLCHoklch(42.38% 0.177 333)
XYZxyz(12.5397, 6.4089, 17.7126)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811276 #12811D
analogous
#551281 #811276 #81123F
triadic
#811276 #768112 #127681
tetradic
#811276 #815512 #12811D #123F81
square
#811276 #815512 #12811D #123F81
split-complementary
#811276 #3F8112 #128155
monochromatic
#1B0419 #4B0B45 #811276 #B719A7 #E22CD0

Accessibility & contrast

On white

9.20
#811276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#811276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811276
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811276#FFFFFF#000000##FFFFFF
##8112761.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093E78
Deuteranopia (green-blind)
#3C4D74
Tritanopia (blue-blind)
#872145
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #811276;
/* rgb */ color: rgb(129, 18, 118);
/* oklch */ color: oklch(42.4% 0.177 333.0);
Tailwind
colors: {
  custom: {
    50: '#a9619e',
    500: '#811276',
    950: '#000000',
  },
}
SCSS
$custom: #811276;
$custom-light: #a9619e;
$custom-dark: #000000;
JSON
{
  "hex": "#811276",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 305.946,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4238,
    "c": 0.17657,
    "h": 333
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#811276
secondary
#38B745
accent
#F24836
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811276

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

Preview Lab → · Contrast checker → · Palette generator →

#811276 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva