#841D9A#841D9A

#841D9A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.197 H 319.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#841D9A
RGBrgb(132, 29, 154)
HSLhsl(289, 68%, 36%)
HSVhsv(289, 81%, 60%)
CMYKcmyk(14.3%, 81.2%, 0%, 39.6%)
CIE-LABlab(34.23, 58.35, -45.40)
CIE-LCHlch(34.23, 73.93, 322.12°)
OKLaboklab(45.91% 0.1499 -0.1276)
OKLCHoklch(45.91% 0.197 319.6)
XYZxyz(15.7871, 8.1182, 31.3010)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D9A #339A1D
analogous
#451D9A #841D9A #9A1D71
triadic
#841D9A #9A841D #1D9A84
tetradic
#841D9A #9A451D #339A1D #1D719A
square
#841D9A #9A451D #339A1D #1D719A
split-complementary
#841D9A #719A1D #1D9A45
monochromatic
#2C0A33 #581366 #841D9A #B027CE #C653DF

Accessibility & contrast

On white

8.00
#841D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#841D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D9A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D9A#FFFFFF#000000##FFFFFF
##841D9A1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#285497
Tritanopia (blue-blind)
#84395C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #841d9a;
/* rgb */ color: rgb(132, 29, 154);
/* oklch */ color: oklch(45.9% 0.197 319.6);
Tailwind
colors: {
  custom: {
    50: '#ac67b8',
    500: '#841d9a',
    950: '#000000',
  },
}
SCSS
$custom: #841d9a;
$custom-light: #ac67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#841d9a",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 289.44,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45905,
    "c": 0.19684,
    "h": 319.6
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#841D9A
secondary
#65C251
accent
#EB3D5B
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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