#841E77#841E77

#841E77 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.168 H 333.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#841E77
RGBrgb(132, 30, 119)
HSLhsl(308, 63%, 32%)
HSVhsv(308, 77%, 52%)
CMYKcmyk(0%, 77.3%, 9.8%, 48.2%)
CIE-LABlab(32.18, 51.96, -26.96)
CIE-LCHlch(32.18, 58.53, 332.58°)
OKLaboklab(43.76% 0.1507 -0.0739)
OKLCHoklch(43.76% 0.168 333.9)
XYZxyz(13.3099, 7.1671, 18.1316)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E77 #1E842B
analogous
#5E1E84 #841E77 #841E44
triadic
#841E77 #77841E #1E7784
tetradic
#841E77 #845E1E #1E842B #1E4484
square
#841E77 #845E1E #1E842B #1E4484
split-complementary
#841E77 #44841E #1E845E
monochromatic
#20071D #52134A #841E77 #B629A4 #D547C3

Accessibility & contrast

On white

8.63
#841E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#841E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841E77
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E77#FFFFFF#000000##FFFFFF
##841E771.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4279
Deuteranopia (green-blind)
#425175
Tritanopia (blue-blind)
#8A2849
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841e77;
/* rgb */ color: rgb(132, 30, 119);
/* oklch */ color: oklch(43.8% 0.168 333.9);
Tailwind
colors: {
  custom: {
    50: '#ab669e',
    500: '#841e77',
    950: '#000000',
  },
}
SCSS
$custom: #841e77;
$custom-light: #ab669e;
$custom-dark: #000000;
JSON
{
  "hex": "#841e77",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 307.647,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.16784,
    "h": 333.9
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#841E77
secondary
#47B755
accent
#E65742
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #841E77

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

Preview Lab → · Contrast checker → · Palette generator →

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