#841E7D#841E7D

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

Color values

HEX#841E7D
RGBrgb(132, 30, 125)
HSLhsl(304, 63%, 32%)
HSVhsv(304, 77%, 52%)
CMYKcmyk(0%, 77.3%, 5.3%, 48.2%)
CIE-LABlab(32.52, 52.92, -30.21)
CIE-LCHlch(32.52, 60.94, 330.28°)
OKLaboklab(44.11% 0.151 -0.0833)
OKLCHoklch(44.11% 0.172 331.1)
XYZxyz(13.6817, 7.3159, 20.0896)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E7D #1E8425
analogous
#581E84 #841E7D #841E4A
triadic
#841E7D #7D841E #1E7D84
tetradic
#841E7D #84581E #1E8425 #1E4A84
square
#841E7D #84581E #1E8425 #1E4A84
split-complementary
#841E7D #4A841E #1E8458
monochromatic
#20071F #52134E #841E7D #B629AC #D547CB

Accessibility & contrast

On white

8.53
#841E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841E7D
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E7D#FFFFFF#000000##FFFFFF
##841E7D1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841e7d;
/* rgb */ color: rgb(132, 30, 125);
/* oklch */ color: oklch(44.1% 0.172 331.1);
Tailwind
colors: {
  custom: {
    50: '#ab66a3',
    500: '#841e7d',
    950: '#000000',
  },
}
SCSS
$custom: #841e7d;
$custom-light: #ab66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#841e7d",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 304.118,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44107,
    "c": 0.17242,
    "h": 331.1
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#841E7D
secondary
#47B74F
accent
#E64D42
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #841E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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