#841D8C#841D8C

#841D8C is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.185 H 324.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#841D8C
RGBrgb(132, 29, 140)
HSLhsl(296, 66%, 33%)
HSVhsv(296, 79%, 55%)
CMYKcmyk(5.7%, 79.3%, 0%, 45.1%)
CIE-LABlab(33.30, 55.80, -38.29)
CIE-LCHlch(33.30, 67.67, 325.54°)
OKLaboklab(44.96% 0.1515 -0.1068)
OKLCHoklch(44.96% 0.185 324.8)
XYZxyz(14.6883, 7.6787, 25.5143)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D8C #258C1D
analogous
#4D1D8C #841D8C #8C1D5C
triadic
#841D8C #8C841D #1D8C84
tetradic
#841D8C #8C4D1D #258C1D #1D5C8C
square
#841D8C #8C4D1D #258C1D #1D5C8C
split-complementary
#841D8C #5C8C1D #1D8C4D
monochromatic
#240827 #541259 #841D8C #B428BF #CF4AD9

Accessibility & contrast

On white

8.28
#841D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#841D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D8C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D8C#FFFFFF#000000##FFFFFF
##841D8C1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841d8c;
/* rgb */ color: rgb(132, 29, 140);
/* oklch */ color: oklch(45.0% 0.185 324.8);
Tailwind
colors: {
  custom: {
    50: '#ab66ae',
    500: '#841d8c',
    950: '#000000',
  },
}
SCSS
$custom: #841d8c;
$custom-light: #ab66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#841d8c",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 295.676,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44958,
    "c": 0.18532,
    "h": 324.8
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#841D8C
secondary
#51BC49
accent
#E93F4B
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #841D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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