#811279#811279

#811279 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.179 H 331.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#811279
RGBrgb(129, 18, 121)
HSLhsl(304, 76%, 29%)
HSVhsv(304, 86%, 51%)
CMYKcmyk(0%, 86%, 6.2%, 49.4%)
CIE-LABlab(30.60, 54.91, -30.77)
CIE-LCHlch(30.60, 62.95, 330.74°)
OKLaboklab(42.56% 0.1573 -0.0849)
OKLCHoklch(42.56% 0.179 331.6)
XYZxyz(12.7208, 6.4813, 18.6665)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811279 #12811A
analogous
#521281 #811279 #811242
triadic
#811279 #798112 #127981
tetradic
#811279 #815212 #12811A #124281
square
#811279 #815212 #12811A #124281
split-complementary
#811279 #428112 #128152
monochromatic
#1B0419 #4B0B47 #811279 #B719AB #E22CD4

Accessibility & contrast

On white

9.15
#811279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#811279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811279
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811279#FFFFFF#000000##FFFFFF
##8112791.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7C
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#872347
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #811279;
/* rgb */ color: rgb(129, 18, 121);
/* oklch */ color: oklch(42.6% 0.179 331.6);
Tailwind
colors: {
  custom: {
    50: '#a961a0',
    500: '#811279',
    950: '#000000',
  },
}
SCSS
$custom: #811279;
$custom-light: #a961a0;
$custom-dark: #000000;
JSON
{
  "hex": "#811279",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 121
  },
  "hsl": {
    "h": 304.324,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4256,
    "c": 0.17874,
    "h": 331.6
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#811279
secondary
#38B741
accent
#F24336
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #811279

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

Preview Lab → · Contrast checker → · Palette generator →

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