#841B8B#841B8B

#841B8B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.186 H 325.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#841B8B
RGBrgb(132, 27, 139)
HSLhsl(296, 67%, 33%)
HSVhsv(296, 81%, 55%)
CMYKcmyk(5%, 80.6%, 0%, 45.5%)
CIE-LABlab(33.04, 56.21, -38.10)
CIE-LCHlch(33.04, 67.91, 325.87°)
OKLaboklab(44.75% 0.1532 -0.1062)
OKLCHoklch(44.75% 0.186 325.3)
XYZxyz(14.5675, 7.5545, 25.1120)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B8B #228B1B
analogous
#4C1B8B #841B8B #8B1B5A
triadic
#841B8B #8B841B #1B8B84
tetradic
#841B8B #8B4C1B #228B1B #1B5A8B
square
#841B8B #8B4C1B #228B1B #1B5A8B
split-complementary
#841B8B #5A8B1B #1B8B4C
monochromatic
#230725 #531158 #841B8B #B525BE #D245DB

Accessibility & contrast

On white

8.36
#841B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#841B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B8B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B8B#FFFFFF#000000##FFFFFF
##841B8B1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#873153
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841b8b;
/* rgb */ color: rgb(132, 27, 139);
/* oklch */ color: oklch(44.7% 0.186 325.3);
Tailwind
colors: {
  custom: {
    50: '#ab66ad',
    500: '#841b8b',
    950: '#000000',
  },
}
SCSS
$custom: #841b8b;
$custom-light: #ab66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#841b8b",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 296.25,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44748,
    "c": 0.18639,
    "h": 325.3
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#841B8B
secondary
#4DBC45
accent
#EA3D48
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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