#841E7A#841E7A

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

Color values

HEX#841E7A
RGBrgb(132, 30, 122)
HSLhsl(306, 63%, 32%)
HSVhsv(306, 77%, 52%)
CMYKcmyk(0%, 77.3%, 7.6%, 48.2%)
CIE-LABlab(32.35, 52.43, -28.59)
CIE-LCHlch(32.35, 59.72, 331.40°)
OKLaboklab(43.93% 0.1509 -0.0786)
OKLCHoklch(43.93% 0.17 332.5)
XYZxyz(13.4929, 7.2404, 19.0955)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E7A #1E8428
analogous
#5B1E84 #841E7A #841E47
triadic
#841E7A #7A841E #1E7A84
tetradic
#841E7A #845B1E #1E8428 #1E4784
square
#841E7A #845B1E #1E8428 #1E4784
split-complementary
#841E7A #47841E #1E845B
monochromatic
#20071E #52134C #841E7A #B629A8 #D547C7

Accessibility & contrast

On white

8.58
#841E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#841E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841E7A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E7A#FFFFFF#000000##FFFFFF
##841E7A1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841e7a;
/* rgb */ color: rgb(132, 30, 122);
/* oklch */ color: oklch(43.9% 0.170 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab66a1',
    500: '#841e7a',
    950: '#000000',
  },
}
SCSS
$custom: #841e7a;
$custom-light: #ab66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#841e7a",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 305.882,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.17011,
    "h": 332.5
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#841E7A
secondary
#47B752
accent
#E65242
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #841E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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