#841D7E#841D7E

#841D7E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.174 H 330.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#841D7E
RGBrgb(132, 29, 126)
HSLhsl(303, 64%, 32%)
HSVhsv(303, 78%, 52%)
CMYKcmyk(0%, 78%, 4.5%, 48.2%)
CIE-LABlab(32.46, 53.40, -30.92)
CIE-LCHlch(32.46, 61.71, 329.93°)
OKLaboklab(44.09% 0.1519 -0.0853)
OKLCHoklch(44.09% 0.174 330.7)
XYZxyz(13.7209, 7.2917, 20.4194)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D7E #1D8423
analogous
#571D84 #841D7E #841D4B
triadic
#841D7E #7E841D #1D7E84
tetradic
#841D7E #84571D #1D8423 #1D4B84
square
#841D7E #84571D #1D8423 #1D4B84
split-complementary
#841D7E #4B841D #1D8457
monochromatic
#20071E #52124E #841D7E #B628AE #D645CE

Accessibility & contrast

On white

8.54
#841D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#841D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D7E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D7E#FFFFFF#000000##FFFFFF
##841D7E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104381
Deuteranopia (green-blind)
#3E517C
Tritanopia (blue-blind)
#892B4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841d7e;
/* rgb */ color: rgb(132, 29, 126);
/* oklch */ color: oklch(44.1% 0.174 330.7);
Tailwind
colors: {
  custom: {
    50: '#ab66a4',
    500: '#841d7e',
    950: '#000000',
  },
}
SCSS
$custom: #841d7e;
$custom-light: #ab66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#841d7e",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 303.495,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44087,
    "c": 0.17423,
    "h": 330.7
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#841D7E
secondary
#46B74C
accent
#E74A41
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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