#841B7A#841B7A

#841B7A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.173 H 332.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#841B7A
RGBrgb(132, 27, 122)
HSLhsl(306, 66%, 31%)
HSVhsv(306, 80%, 52%)
CMYKcmyk(0%, 79.5%, 7.6%, 48.2%)
CIE-LABlab(32.02, 53.37, -29.10)
CIE-LCHlch(32.02, 60.78, 331.39°)
OKLaboklab(43.7% 0.1536 -0.08)
OKLCHoklch(43.7% 0.173 332.5)
XYZxyz(13.4206, 7.0957, 19.0714)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B7A #1B8425
analogous
#591B84 #841B7A #841B45
triadic
#841B7A #7A841B #1B7A84
tetradic
#841B7A #84591B #1B8425 #1B4584
square
#841B7A #84591B #1B8425 #1B4584
split-complementary
#841B7A #45841B #1B8459
monochromatic
#1E061C #51114B #841B7A #B725A9 #D841CA

Accessibility & contrast

On white

8.68
#841B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#841B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B7A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B7A#FFFFFF#000000##FFFFFF
##841B7A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427D
Deuteranopia (green-blind)
#3F5078
Tritanopia (blue-blind)
#8A284A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841b7a;
/* rgb */ color: rgb(132, 27, 122);
/* oklch */ color: oklch(43.7% 0.173 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab65a1',
    500: '#841b7a',
    950: '#000000',
  },
}
SCSS
$custom: #841b7a;
$custom-light: #ab65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#841b7a",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 305.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.437,
    "c": 0.17319,
    "h": 332.5
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#841B7A
secondary
#43B74E
accent
#E94F3F
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #841B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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