#841B8D#841B8D

#841B8D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.188 H 324.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#841B8D
RGBrgb(132, 27, 141)
HSLhsl(295, 68%, 33%)
HSVhsv(295, 81%, 55%)
CMYKcmyk(6.4%, 80.9%, 0%, 44.7%)
CIE-LABlab(33.16, 56.56, -39.14)
CIE-LCHlch(33.16, 68.78, 325.32°)
OKLaboklab(44.88% 0.153 -0.1092)
OKLCHoklch(44.88% 0.188 324.5)
XYZxyz(14.7150, 7.6135, 25.8886)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B8D #248D1B
analogous
#4B1B8D #841B8D #8D1B5D
triadic
#841B8D #8D841B #1B8D84
tetradic
#841B8D #8D4B1B #248D1B #1B5D8D
square
#841B8D #8D4B1B #248D1B #1B5D8D
split-complementary
#841B8D #5D8D1B #1B8D4B
monochromatic
#240726 #54115A #841B8D #B425C0 #D047DC

Accessibility & contrast

On white

8.33
#841B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#841B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B8D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B8D#FFFFFF#000000##FFFFFF
##841B8D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#33528A
Tritanopia (blue-blind)
#873254
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841b8d;
/* rgb */ color: rgb(132, 27, 141);
/* oklch */ color: oklch(44.9% 0.188 324.5);
Tailwind
colors: {
  custom: {
    50: '#ac66af',
    500: '#841b8d',
    950: '#000000',
  },
}
SCSS
$custom: #841b8d;
$custom-light: #ac66af;
$custom-dark: #000000;
JSON
{
  "hex": "#841b8d",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 295.263,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44879,
    "c": 0.18799,
    "h": 324.5
  },
  "luminance": 0.07612
}

Semantic roles & 50–950 ramp

primary
#841B8D
secondary
#50BD46
accent
#EB3D4B
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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