#841D7A#841D7A

#841D7A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.171 H 332.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#841D7A
RGBrgb(132, 29, 122)
HSLhsl(306, 64%, 32%)
HSVhsv(306, 78%, 52%)
CMYKcmyk(0%, 78%, 7.6%, 48.2%)
CIE-LABlab(32.24, 52.75, -28.77)
CIE-LCHlch(32.24, 60.09, 331.40°)
OKLaboklab(43.85% 0.1518 -0.0791)
OKLCHoklch(43.85% 0.171 332.5)
XYZxyz(13.4680, 7.1905, 19.0872)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D7A #1D8427
analogous
#5B1D84 #841D7A #841D47
triadic
#841D7A #7A841D #1D7A84
tetradic
#841D7A #845B1D #1D8427 #1D4784
square
#841D7A #845B1D #1D8427 #1D4784
split-complementary
#841D7A #47841D #1D845B
monochromatic
#20071D #52124C #841D7A #B628A8 #D645C8

Accessibility & contrast

On white

8.61
#841D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#841D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D7A
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D7A#FFFFFF#000000##FFFFFF
##841D7A1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437C
Deuteranopia (green-blind)
#405178
Tritanopia (blue-blind)
#8A294A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841d7a;
/* rgb */ color: rgb(132, 29, 122);
/* oklch */ color: oklch(43.9% 0.171 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab66a1',
    500: '#841d7a',
    950: '#000000',
  },
}
SCSS
$custom: #841d7a;
$custom-light: #ab66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#841d7a",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 305.825,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.17116,
    "h": 332.5
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#841D7A
secondary
#46B751
accent
#E75141
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #841D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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