#841B88#841B88

#841B88 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.184 H 326.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#841B88
RGBrgb(132, 27, 136)
HSLhsl(298, 67%, 32%)
HSVhsv(298, 80%, 53%)
CMYKcmyk(2.9%, 80.1%, 0%, 46.7%)
CIE-LABlab(32.85, 55.69, -36.55)
CIE-LCHlch(32.85, 66.61, 326.73°)
OKLaboklab(44.56% 0.1534 -0.1017)
OKLCHoklch(44.56% 0.184 326.5)
XYZxyz(14.3513, 7.4680, 23.9734)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B88 #1F881B
analogous
#4E1B88 #841B88 #881B56
triadic
#841B88 #88841B #1B8884
tetradic
#841B88 #884E1B #1F881B #1B5688
square
#841B88 #884E1B #1F881B #1B5688
split-complementary
#841B88 #56881B #1B884E
monochromatic
#210722 #521155 #841B88 #B625BB #D444DA

Accessibility & contrast

On white

8.42
#841B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#841B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B88
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B88#FFFFFF#000000##FFFFFF
##841B881.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#375285
Tritanopia (blue-blind)
#882F52
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841b88;
/* rgb */ color: rgb(132, 27, 136);
/* oklch */ color: oklch(44.6% 0.184 326.5);
Tailwind
colors: {
  custom: {
    50: '#ab65ab',
    500: '#841b88',
    950: '#000000',
  },
}
SCSS
$custom: #841b88;
$custom-light: #ab65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#841b88",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 297.798,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44555,
    "c": 0.184,
    "h": 326.5
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#841B88
secondary
#48BB44
accent
#EA3E44
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841B88

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

Preview Lab → · Contrast checker → · Palette generator →

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