#841D7D#841D7D

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

Color values

HEX#841D7D
RGBrgb(132, 29, 125)
HSLhsl(304, 64%, 32%)
HSVhsv(304, 78%, 52%)
CMYKcmyk(0%, 78%, 5.3%, 48.2%)
CIE-LABlab(32.41, 53.24, -30.39)
CIE-LCHlch(32.41, 61.30, 330.28°)
OKLaboklab(44.03% 0.1519 -0.0838)
OKLCHoklch(44.03% 0.173 331.1)
XYZxyz(13.6567, 7.2660, 20.0813)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D7D #1D8424
analogous
#581D84 #841D7D #841D4A
triadic
#841D7D #7D841D #1D7D84
tetradic
#841D7D #84581D #1D8424 #1D4A84
square
#841D7D #84581D #1D8424 #1D4A84
split-complementary
#841D7D #4A841D #1D8458
monochromatic
#20071E #52124D #841D7D #B628AD #D645CC

Accessibility & contrast

On white

8.56
#841D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841D7D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D7D#FFFFFF#000000##FFFFFF
##841D7D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124380
Deuteranopia (green-blind)
#3E517B
Tritanopia (blue-blind)
#892A4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841d7d;
/* rgb */ color: rgb(132, 29, 125);
/* oklch */ color: oklch(44.0% 0.173 331.1);
Tailwind
colors: {
  custom: {
    50: '#ab66a3',
    500: '#841d7d',
    950: '#000000',
  },
}
SCSS
$custom: #841d7d;
$custom-light: #ab66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#841d7d",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 304.078,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44028,
    "c": 0.17345,
    "h": 331.1
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#841D7D
secondary
#46B74D
accent
#E74C41
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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