#841A77#841A77

#841A77 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.172 H 333.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#841A77
RGBrgb(132, 26, 119)
HSLhsl(307, 67%, 31%)
HSVhsv(307, 80%, 52%)
CMYKcmyk(0%, 80.3%, 9.8%, 48.2%)
CIE-LABlab(31.76, 53.19, -27.63)
CIE-LCHlch(31.76, 59.94, 332.55°)
OKLaboklab(43.46% 0.1543 -0.0758)
OKLCHoklch(43.46% 0.172 333.8)
XYZxyz(13.2150, 6.9774, 18.1000)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A77 #1A8427
analogous
#5C1A84 #841A77 #841A42
triadic
#841A77 #77841A #1A7784
tetradic
#841A77 #845C1A #1A8427 #1A4284
square
#841A77 #845C1A #1A8427 #1A4284
split-complementary
#841A77 #42841A #1A845C
monochromatic
#1E061B #511049 #841A77 #B724A5 #D93FC6

Accessibility & contrast

On white

8.77
#841A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#841A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A77
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A77#FFFFFF#000000##FFFFFF
##841A771.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#405075
Tritanopia (blue-blind)
#8A2548
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841a77;
/* rgb */ color: rgb(132, 26, 119);
/* oklch */ color: oklch(43.5% 0.172 333.8);
Tailwind
colors: {
  custom: {
    50: '#ab649e',
    500: '#841a77',
    950: '#000000',
  },
}
SCSS
$custom: #841a77;
$custom-light: #ab649e;
$custom-dark: #000000;
JSON
{
  "hex": "#841a77",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 307.358,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43455,
    "c": 0.17194,
    "h": 333.8
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#841A77
secondary
#42B851
accent
#EA533E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841A77

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

Preview Lab → · Contrast checker → · Palette generator →

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