#811278#811278

#811278 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.178 H 332.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#811278
RGBrgb(129, 18, 120)
HSLhsl(305, 76%, 29%)
HSVhsv(305, 86%, 51%)
CMYKcmyk(0%, 86%, 7%, 49.4%)
CIE-LABlab(30.54, 54.76, -30.23)
CIE-LCHlch(30.54, 62.55, 331.10°)
OKLaboklab(42.5% 0.1573 -0.0833)
OKLCHoklch(42.5% 0.178 332.1)
XYZxyz(12.6598, 6.4569, 18.3452)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811278 #12811B
analogous
#531281 #811278 #811241
triadic
#811278 #788112 #127881
tetradic
#811278 #815312 #12811B #124181
square
#811278 #815312 #12811B #124181
split-complementary
#811278 #418112 #128153
monochromatic
#1B0419 #4B0B46 #811278 #B719AA #E22CD3

Accessibility & contrast

On white

9.17
#811278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#811278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811278
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811278#FFFFFF#000000##FFFFFF
##8112781.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043E7B
Deuteranopia (green-blind)
#3B4D76
Tritanopia (blue-blind)
#872247
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #811278;
/* rgb */ color: rgb(129, 18, 120);
/* oklch */ color: oklch(42.5% 0.178 332.1);
Tailwind
colors: {
  custom: {
    50: '#a9619f',
    500: '#811278',
    950: '#000000',
  },
}
SCSS
$custom: #811278;
$custom-light: #a9619f;
$custom-dark: #000000;
JSON
{
  "hex": "#811278",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 120
  },
  "hsl": {
    "h": 304.865,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42499,
    "c": 0.17801,
    "h": 332.1
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#811278
secondary
#38B743
accent
#F24536
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811278

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

Preview Lab → · Contrast checker → · Palette generator →

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