#841776#841776

#841776 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.174 H 334.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#841776
RGBrgb(132, 23, 118)
HSLhsl(308, 70%, 30%)
HSVhsv(308, 83%, 52%)
CMYKcmyk(0%, 82.6%, 10.6%, 48.2%)
CIE-LABlab(31.41, 53.87, -27.54)
CIE-LCHlch(31.41, 60.50, 332.92°)
OKLaboklab(43.19% 0.1568 -0.0755)
OKLCHoklch(43.19% 0.174 334.3)
XYZxyz(13.0923, 6.8275, 17.7643)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841776 #178425
analogous
#5B1784 #841776 #841740
triadic
#841776 #768417 #177684
tetradic
#841776 #845B17 #178425 #174084
square
#841776 #845B17 #178425 #174084
split-complementary
#841776 #408417 #17845B
monochromatic
#1C0519 #500E47 #841776 #B820A5 #DC39C7

Accessibility & contrast

On white

8.88
#841776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#841776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841776
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841776#FFFFFF#000000##FFFFFF
##8417761.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#404F74
Tritanopia (blue-blind)
#8B2346
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841776;
/* rgb */ color: rgb(132, 23, 118);
/* oklch */ color: oklch(43.2% 0.174 334.3);
Tailwind
colors: {
  custom: {
    50: '#ab639e',
    500: '#841776',
    950: '#000000',
  },
}
SCSS
$custom: #841776;
$custom-light: #ab639e;
$custom-dark: #000000;
JSON
{
  "hex": "#841776",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 307.706,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4319,
    "c": 0.17399,
    "h": 334.3
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#841776
secondary
#3FB84E
accent
#ED523B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841776

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

Preview Lab → · Contrast checker → · Palette generator →

#841776 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva