#841D78#841D78

#841D78 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.170 H 333.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#841D78
RGBrgb(132, 29, 120)
HSLhsl(307, 64%, 32%)
HSVhsv(307, 78%, 52%)
CMYKcmyk(0%, 78%, 9.1%, 48.2%)
CIE-LABlab(32.13, 52.43, -27.68)
CIE-LCHlch(32.13, 59.29, 332.17°)
OKLaboklab(43.74% 0.1517 -0.076)
OKLCHoklch(43.74% 0.17 333.4)
XYZxyz(13.3453, 7.1415, 18.4412)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D78 #1D8429
analogous
#5D1D84 #841D78 #841D45
triadic
#841D78 #78841D #1D7884
tetradic
#841D78 #845D1D #1D8429 #1D4584
square
#841D78 #845D1D #1D8429 #1D4584
split-complementary
#841D78 #45841D #1D845D
monochromatic
#20071D #52124A #841D78 #B628A6 #D645C5

Accessibility & contrast

On white

8.65
#841D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#841D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D78
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D78#FFFFFF#000000##FFFFFF
##841D781.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19427A
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#8A2849
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841d78;
/* rgb */ color: rgb(132, 29, 120);
/* oklch */ color: oklch(43.7% 0.170 333.4);
Tailwind
colors: {
  custom: {
    50: '#ab659f',
    500: '#841d78',
    950: '#000000',
  },
}
SCSS
$custom: #841d78;
$custom-light: #ab659f;
$custom-dark: #000000;
JSON
{
  "hex": "#841d78",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 306.99,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43739,
    "c": 0.16965,
    "h": 333.4
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#841D78
secondary
#46B753
accent
#E75441
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841D78

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

Preview Lab → · Contrast checker → · Palette generator →

#841D78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva