#841B79#841B79

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

Color values

HEX#841B79
RGBrgb(132, 27, 121)
HSLhsl(306, 66%, 31%)
HSVhsv(306, 80%, 52%)
CMYKcmyk(0%, 79.5%, 8.3%, 48.2%)
CIE-LABlab(31.97, 53.21, -28.56)
CIE-LCHlch(31.97, 60.39, 331.77°)
OKLaboklab(43.64% 0.1536 -0.0785)
OKLCHoklch(43.64% 0.172 332.9)
XYZxyz(13.3589, 7.0710, 18.7467)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B79 #1B8426
analogous
#5A1B84 #841B79 #841B44
triadic
#841B79 #79841B #1B7984
tetradic
#841B79 #845A1B #1B8426 #1B4484
square
#841B79 #845A1B #1B8426 #1B4484
split-complementary
#841B79 #44841B #1B845A
monochromatic
#1E061C #51114A #841B79 #B725A8 #D841C8

Accessibility & contrast

On white

8.70
#841B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841B79
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B79#FFFFFF#000000##FFFFFF
##841B791.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427B
Deuteranopia (green-blind)
#405077
Tritanopia (blue-blind)
#8A2749
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841b79;
/* rgb */ color: rgb(132, 27, 121);
/* oklch */ color: oklch(43.6% 0.172 332.9);
Tailwind
colors: {
  custom: {
    50: '#ab65a0',
    500: '#841b79',
    950: '#000000',
  },
}
SCSS
$custom: #841b79;
$custom-light: #ab65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#841b79",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 306.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43643,
    "c": 0.17244,
    "h": 332.9
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#841B79
secondary
#43B750
accent
#E9513F
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841B79

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

Preview Lab → · Contrast checker → · Palette generator →

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