#841B77#841B77

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

Color values

HEX#841B77
RGBrgb(132, 27, 119)
HSLhsl(307, 66%, 31%)
HSVhsv(307, 80%, 52%)
CMYKcmyk(0%, 79.5%, 9.8%, 48.2%)
CIE-LABlab(31.86, 52.89, -27.47)
CIE-LCHlch(31.86, 59.60, 332.55°)
OKLaboklab(43.53% 0.1535 -0.0753)
OKLCHoklch(43.53% 0.171 333.9)
XYZxyz(13.2375, 7.0225, 18.1075)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B77 #1B8428
analogous
#5C1B84 #841B77 #841B42
triadic
#841B77 #77841B #1B7784
tetradic
#841B77 #845C1B #1B8428 #1B4284
square
#841B77 #845C1B #1B8428 #1B4284
split-complementary
#841B77 #42841B #1B845C
monochromatic
#1E061B #511149 #841B77 #B725A5 #D841C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##841B77#FFFFFF#000000##FFFFFF
##841B771.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184179
Deuteranopia (green-blind)
#415075
Tritanopia (blue-blind)
#8A2648
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841b77;
/* rgb */ color: rgb(132, 27, 119);
/* oklch */ color: oklch(43.5% 0.171 333.9);
Tailwind
colors: {
  custom: {
    50: '#ab659e',
    500: '#841b77',
    950: '#000000',
  },
}
SCSS
$custom: #841b77;
$custom-light: #ab659e;
$custom-dark: #000000;
JSON
{
  "hex": "#841b77",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 307.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43528,
    "c": 0.17096,
    "h": 333.9
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#841B77
secondary
#43B752
accent
#E9543F
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841B77

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

Preview Lab → · Contrast checker → · Palette generator →

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