#841D8D#841D8D

#841D8D is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 324.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#841D8D
RGBrgb(132, 29, 141)
HSLhsl(295, 66%, 33%)
HSVhsv(295, 79%, 55%)
CMYKcmyk(6.4%, 79.4%, 0%, 44.7%)
CIE-LABlab(33.37, 55.97, -38.81)
CIE-LCHlch(33.37, 68.11, 325.26°)
OKLaboklab(45.02% 0.1514 -0.1083)
OKLCHoklch(45.02% 0.186 324.4)
XYZxyz(14.7624, 7.7083, 25.9044)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D8D #268D1D
analogous
#4C1D8D #841D8D #8D1D5E
triadic
#841D8D #8D841D #1D8D84
tetradic
#841D8D #8D4C1D #268D1D #1D5E8D
square
#841D8D #8D4C1D #268D1D #1D5E8D
split-complementary
#841D8D #5E8D1D #1D8D4C
monochromatic
#250827 #54135A #841D8D #B427C0 #CE4BDA

Accessibility & contrast

On white

8.26
#841D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841D8D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D8D#FFFFFF#000000##FFFFFF
##841D8D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#34538A
Tritanopia (blue-blind)
#873355
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841d8d;
/* rgb */ color: rgb(132, 29, 141);
/* oklch */ color: oklch(45.0% 0.186 324.4);
Tailwind
colors: {
  custom: {
    50: '#ab66af',
    500: '#841d8d',
    950: '#000000',
  },
}
SCSS
$custom: #841d8d;
$custom-light: #ab66af;
$custom-dark: #000000;
JSON
{
  "hex": "#841d8d",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 295.179,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45023,
    "c": 0.18613,
    "h": 324.4
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#841D8D
secondary
#53BC4A
accent
#E93F4D
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #841D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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