#841C79#841C79

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

Color values

HEX#841C79
RGBrgb(132, 28, 121)
HSLhsl(306, 65%, 31%)
HSVhsv(306, 79%, 52%)
CMYKcmyk(0%, 78.8%, 8.3%, 48.2%)
CIE-LABlab(32.07, 52.90, -28.39)
CIE-LCHlch(32.07, 60.04, 331.78°)
OKLaboklab(43.72% 0.1527 -0.078)
OKLCHoklch(43.72% 0.171 332.9)
XYZxyz(13.3822, 7.1177, 18.7545)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C79 #1C8427
analogous
#5B1C84 #841C79 #841C45
triadic
#841C79 #79841C #1C7984
tetradic
#841C79 #845B1C #1C8427 #1C4584
square
#841C79 #845B1C #1C8427 #1C4584
split-complementary
#841C79 #45841C #1C845B
monochromatic
#1F071C #52114B #841C79 #B627A7 #D743C8

Accessibility & contrast

On white

8.67
#841C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#841C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841C79
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C79#FFFFFF#000000##FFFFFF
##841C791.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#8A2849
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841c79;
/* rgb */ color: rgb(132, 28, 121);
/* oklch */ color: oklch(43.7% 0.171 332.9);
Tailwind
colors: {
  custom: {
    50: '#ab65a0',
    500: '#841c79',
    950: '#000000',
  },
}
SCSS
$custom: #841c79;
$custom-light: #ab65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#841c79",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 306.346,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43718,
    "c": 0.17144,
    "h": 332.9
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#841C79
secondary
#45B751
accent
#E85240
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841C79

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

Preview Lab → · Contrast checker → · Palette generator →

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