#841785#841785

#841785 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.185 H 327.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#841785
RGBrgb(132, 23, 133)
HSLhsl(299, 71%, 31%)
HSVhsv(299, 83%, 52%)
CMYKcmyk(0.8%, 82.7%, 0%, 47.8%)
CIE-LABlab(32.29, 56.28, -35.58)
CIE-LCHlch(32.29, 66.58, 327.70°)
OKLaboklab(44.1% 0.1566 -0.0988)
OKLCHoklch(44.1% 0.185 327.8)
XYZxyz(14.0556, 7.2128, 22.8377)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841785 #188517
analogous
#4D1785 #841785 #85174F
triadic
#841785 #858417 #178584
tetradic
#841785 #854D17 #188517 #174F85
square
#841785 #854D17 #188517 #174F85
split-complementary
#841785 #4F8517 #17854D
monochromatic
#1C051D #500E51 #841785 #B820B9 #DB3ADD

Accessibility & contrast

On white

8.60
#841785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#841785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841785
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841785#FFFFFF#000000##FFFFFF
##8417851.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#375182
Tritanopia (blue-blind)
#882B4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841785;
/* rgb */ color: rgb(132, 23, 133);
/* oklch */ color: oklch(44.1% 0.185 327.8);
Tailwind
colors: {
  custom: {
    50: '#ac64a9',
    500: '#841785',
    950: '#000000',
  },
}
SCSS
$custom: #841785;
$custom-light: #ac64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#841785",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 299.455,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44096,
    "c": 0.18518,
    "h": 327.8
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#841785
secondary
#40B93F
accent
#ED3B3C
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841785

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

Preview Lab → · Contrast checker → · Palette generator →

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