#841A74#841A74

#841A74 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.170 H 335.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#841A74
RGBrgb(132, 26, 116)
HSLhsl(309, 67%, 31%)
HSVhsv(309, 80%, 52%)
CMYKcmyk(0%, 80.3%, 12.1%, 48.2%)
CIE-LABlab(31.59, 52.72, -25.99)
CIE-LCHlch(31.59, 58.78, 333.76°)
OKLaboklab(43.29% 0.1542 -0.0711)
OKLCHoklch(43.29% 0.17 335.2)
XYZxyz(13.0377, 6.9065, 17.1660)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A74 #1A842A
analogous
#5F1A84 #841A74 #841A3F
triadic
#841A74 #74841A #1A7484
tetradic
#841A74 #845F1A #1A842A #1A3F84
square
#841A74 #845F1A #1A842A #1A3F84
split-complementary
#841A74 #3F841A #1A845F
monochromatic
#1E061A #511047 #841A74 #B724A1 #D93FC2

Accessibility & contrast

On white

8.82
#841A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#841A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A74
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A74#FFFFFF#000000##FFFFFF
##841A741.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4076
Deuteranopia (green-blind)
#425072
Tritanopia (blue-blind)
#8B2446
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841a74;
/* rgb */ color: rgb(132, 26, 116);
/* oklch */ color: oklch(43.3% 0.170 335.2);
Tailwind
colors: {
  custom: {
    50: '#ab649c',
    500: '#841a74',
    950: '#000000',
  },
}
SCSS
$custom: #841a74;
$custom-light: #ab649c;
$custom-dark: #000000;
JSON
{
  "hex": "#841a74",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 309.057,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43286,
    "c": 0.16975,
    "h": 335.2
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#841A74
secondary
#42B854
accent
#EA583E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841A74

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

Preview Lab → · Contrast checker → · Palette generator →

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