#841D8B#841D8B

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

Color values

HEX#841D8B
RGBrgb(132, 29, 139)
HSLhsl(296, 65%, 33%)
HSVhsv(296, 79%, 55%)
CMYKcmyk(5%, 79.1%, 0%, 45.5%)
CIE-LABlab(33.24, 55.62, -37.78)
CIE-LCHlch(33.24, 67.24, 325.82°)
OKLaboklab(44.89% 0.1515 -0.1053)
OKLCHoklch(44.89% 0.185 325.2)
XYZxyz(14.6149, 7.6493, 25.1278)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D8B #248B1D
analogous
#4D1D8B #841D8B #8B1D5B
triadic
#841D8B #8B841D #1D8B84
tetradic
#841D8B #8B4D1D #248B1D #1D5B8B
square
#841D8B #8B4D1D #248B1D #1D5B8B
split-complementary
#841D8B #5B8B1D #1D8B4D
monochromatic
#240826 #541258 #841D8B #B428BE #D049D9

Accessibility & contrast

On white

8.30
#841D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#841D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D8B
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D8B#FFFFFF#000000##FFFFFF
##841D8B1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841d8b;
/* rgb */ color: rgb(132, 29, 139);
/* oklch */ color: oklch(44.9% 0.185 325.2);
Tailwind
colors: {
  custom: {
    50: '#ab66ad',
    500: '#841d8b',
    950: '#000000',
  },
}
SCSS
$custom: #841d8b;
$custom-light: #ab66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#841d8b",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 296.182,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44893,
    "c": 0.18452,
    "h": 325.2
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#841D8B
secondary
#50BB49
accent
#E83F4A
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #841D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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