#841A79#841A79

#841A79 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.173 H 332.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#841A79
RGBrgb(132, 26, 121)
HSLhsl(306, 67%, 31%)
HSVhsv(306, 80%, 52%)
CMYKcmyk(0%, 80.3%, 8.3%, 48.2%)
CIE-LABlab(31.87, 53.50, -28.72)
CIE-LCHlch(31.87, 60.72, 331.77°)
OKLaboklab(43.57% 0.1544 -0.0789)
OKLCHoklch(43.57% 0.173 332.9)
XYZxyz(13.3364, 7.0260, 18.7392)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A79 #1A8425
analogous
#5A1A84 #841A79 #841A44
triadic
#841A79 #79841A #1A7984
tetradic
#841A79 #845A1A #1A8425 #1A4484
square
#841A79 #845A1A #1A8425 #1A4484
split-complementary
#841A79 #44841A #1A845A
monochromatic
#1E061B #51104A #841A79 #B724A8 #D93FC9

Accessibility & contrast

On white

8.73
#841A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#841A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A79
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A79#FFFFFF#000000##FFFFFF
##841A791.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417B
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#8A2649
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841a79;
/* rgb */ color: rgb(132, 26, 121);
/* oklch */ color: oklch(43.6% 0.173 332.9);
Tailwind
colors: {
  custom: {
    50: '#ab64a0',
    500: '#841a79',
    950: '#000000',
  },
}
SCSS
$custom: #841a79;
$custom-light: #ab64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#841a79",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 306.226,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4357,
    "c": 0.17342,
    "h": 332.9
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#841A79
secondary
#42B84E
accent
#EA503E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841A79

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

Preview Lab → · Contrast checker → · Palette generator →

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