#841D79#841D79

#841D79 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.170 H 332.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#841D79
RGBrgb(132, 29, 121)
HSLhsl(306, 64%, 32%)
HSVhsv(306, 78%, 52%)
CMYKcmyk(0%, 78%, 8.3%, 48.2%)
CIE-LABlab(32.18, 52.59, -28.22)
CIE-LCHlch(32.18, 59.69, 331.78°)
OKLaboklab(43.8% 0.1518 -0.0775)
OKLCHoklch(43.8% 0.17 332.9)
XYZxyz(13.4064, 7.1659, 18.7625)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D79 #1D8428
analogous
#5C1D84 #841D79 #841D46
triadic
#841D79 #79841D #1D7984
tetradic
#841D79 #845C1D #1D8428 #1D4684
square
#841D79 #845C1D #1D8428 #1D4684
split-complementary
#841D79 #46841D #1D845C
monochromatic
#20071D #52124B #841D79 #B628A7 #D645C7

Accessibility & contrast

On white

8.63
#841D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841D79
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D79#FFFFFF#000000##FFFFFF
##841D791.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#8A284A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841d79;
/* rgb */ color: rgb(132, 29, 121);
/* oklch */ color: oklch(43.8% 0.170 332.9);
Tailwind
colors: {
  custom: {
    50: '#ab65a0',
    500: '#841d79',
    950: '#000000',
  },
}
SCSS
$custom: #841d79;
$custom-light: #ab65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#841d79",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 306.408,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43796,
    "c": 0.17041,
    "h": 332.9
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#841D79
secondary
#46B752
accent
#E75341
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841D79

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

Preview Lab → · Contrast checker → · Palette generator →

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