#811478#811478

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

Color values

HEX#811478
RGBrgb(129, 20, 120)
HSLhsl(305, 73%, 29%)
HSVhsv(305, 84%, 51%)
CMYKcmyk(0%, 84.5%, 7%, 49.4%)
CIE-LABlab(30.70, 54.29, -29.97)
CIE-LCHlch(30.70, 62.01, 331.10°)
OKLaboklab(42.61% 0.1559 -0.0826)
OKLCHoklch(42.61% 0.176 332.1)
XYZxyz(12.6936, 6.5246, 18.3565)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811478 #14811D
analogous
#541481 #811478 #811442
triadic
#811478 #788114 #147881
tetradic
#811478 #815414 #14811D #144281
square
#811478 #815414 #14811D #144281
split-complementary
#811478 #428114 #148154
monochromatic
#1A0419 #4C0C47 #811478 #B61CA9 #DF30D1

Accessibility & contrast

On white

9.11
#811478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811478
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811478#FFFFFF#000000##FFFFFF
##8114781.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083F7B
Deuteranopia (green-blind)
#3B4D76
Tritanopia (blue-blind)
#872347
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #811478;
/* rgb */ color: rgb(129, 20, 120);
/* oklch */ color: oklch(42.6% 0.176 332.1);
Tailwind
colors: {
  custom: {
    50: '#a9629f',
    500: '#811478',
    950: '#000000',
  },
}
SCSS
$custom: #811478;
$custom-light: #a9629f;
$custom-dark: #000000;
JSON
{
  "hex": "#811478",
  "rgb": {
    "r": 129,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 304.954,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42615,
    "c": 0.17646,
    "h": 332.1
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#811478
secondary
#3BB645
accent
#F04738
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811478

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

Preview Lab → · Contrast checker → · Palette generator →

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