#841B89#841B89

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

Color values

HEX#841B89
RGBrgb(132, 27, 137)
HSLhsl(297, 67%, 32%)
HSVhsv(297, 80%, 54%)
CMYKcmyk(3.6%, 80.3%, 0%, 46.3%)
CIE-LABlab(32.91, 55.86, -37.07)
CIE-LCHlch(32.91, 67.04, 326.44°)
OKLaboklab(44.62% 0.1533 -0.1032)
OKLCHoklch(44.62% 0.185 326.1)
XYZxyz(14.4227, 7.4965, 24.3494)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B89 #20891B
analogous
#4D1B89 #841B89 #891B57
triadic
#841B89 #89841B #1B8984
tetradic
#841B89 #894D1B #20891B #1B5789
square
#841B89 #894D1B #20891B #1B5789
split-complementary
#841B89 #57891B #1B894D
monochromatic
#210723 #531156 #841B89 #B525BC #D344DA

Accessibility & contrast

On white

8.40
#841B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#841B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B89
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B89#FFFFFF#000000##FFFFFF
##841B891.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#365286
Tritanopia (blue-blind)
#873052
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841b89;
/* rgb */ color: rgb(132, 27, 137);
/* oklch */ color: oklch(44.6% 0.185 326.1);
Tailwind
colors: {
  custom: {
    50: '#ab65ac',
    500: '#841b89',
    950: '#000000',
  },
}
SCSS
$custom: #841b89;
$custom-light: #ab65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#841b89",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 297.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44619,
    "c": 0.1848,
    "h": 326.1
  },
  "luminance": 0.07496
}

Semantic roles & 50–950 ramp

primary
#841B89
secondary
#4ABC44
accent
#EA3E46
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841B89

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

Preview Lab → · Contrast checker → · Palette generator →

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