#841A8B#841A8B

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

Color values

HEX#841A8B
RGBrgb(132, 26, 139)
HSLhsl(296, 68%, 32%)
HSVhsv(296, 81%, 55%)
CMYKcmyk(5%, 81.3%, 0%, 45.5%)
CIE-LABlab(32.94, 56.50, -38.26)
CIE-LCHlch(32.94, 68.23, 325.89°)
OKLaboklab(44.68% 0.154 -0.1067)
OKLCHoklch(44.68% 0.187 325.3)
XYZxyz(14.5450, 7.5094, 25.1045)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A8B #218B1A
analogous
#4B1A8B #841A8B #8B1A5A
triadic
#841A8B #8B841A #1A8B84
tetradic
#841A8B #8B4B1A #218B1A #1A5A8B
square
#841A8B #8B4B1A #218B1A #1A5A8B
split-complementary
#841A8B #5A8B1A #1A8B4B
monochromatic
#220724 #531057 #841A8B #B524BF #D243DC

Accessibility & contrast

On white

8.39
#841A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#841A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A8B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A8B#FFFFFF#000000##FFFFFF
##841A8B1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#345288
Tritanopia (blue-blind)
#873053
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841a8b;
/* rgb */ color: rgb(132, 26, 139);
/* oklch */ color: oklch(44.7% 0.187 325.3);
Tailwind
colors: {
  custom: {
    50: '#ac65ad',
    500: '#841a8b',
    950: '#000000',
  },
}
SCSS
$custom: #841a8b;
$custom-light: #ac65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#841a8b",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 296.283,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.1873,
    "h": 325.3
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#841A8B
secondary
#4BBD44
accent
#EB3C47
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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