#841786#841786

#841786 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.186 H 327.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#841786
RGBrgb(132, 23, 134)
HSLhsl(299, 71%, 31%)
HSVhsv(299, 83%, 53%)
CMYKcmyk(1.5%, 82.8%, 0%, 47.5%)
CIE-LABlab(32.35, 56.44, -36.10)
CIE-LCHlch(32.35, 67.00, 327.40°)
OKLaboklab(44.16% 0.1566 -0.1003)
OKLCHoklch(44.16% 0.186 327.3)
XYZxyz(14.1250, 7.2406, 23.2033)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841786 #198617
analogous
#4C1786 #841786 #861750
triadic
#841786 #868417 #178684
tetradic
#841786 #864C17 #198617 #175086
square
#841786 #864C17 #198617 #175086
split-complementary
#841786 #508617 #17864C
monochromatic
#1D051E #510E52 #841786 #B720BA #DA3ADD

Accessibility & contrast

On white

8.58
#841786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#841786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841786
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841786#FFFFFF#000000##FFFFFF
##8417861.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#375183
Tritanopia (blue-blind)
#882C50
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841786;
/* rgb */ color: rgb(132, 23, 134);
/* oklch */ color: oklch(44.2% 0.186 327.3);
Tailwind
colors: {
  custom: {
    50: '#ac64aa',
    500: '#841786',
    950: '#000000',
  },
}
SCSS
$custom: #841786;
$custom-light: #ac64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#841786",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 298.919,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4416,
    "c": 0.18595,
    "h": 327.3
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#841786
secondary
#41BA3F
accent
#ED3A3E
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841786

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

Preview Lab → · Contrast checker → · Palette generator →

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