#841773#841773

#841773 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.172 H 335.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#841773
RGBrgb(132, 23, 115)
HSLhsl(309, 70%, 30%)
HSVhsv(309, 83%, 52%)
CMYKcmyk(0%, 82.6%, 12.9%, 48.2%)
CIE-LABlab(31.25, 53.41, -25.89)
CIE-LCHlch(31.25, 59.36, 334.13°)
OKLaboklab(43.02% 0.1566 -0.0708)
OKLCHoklch(43.02% 0.172 335.7)
XYZxyz(12.9168, 6.7573, 16.8404)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841773 #178428
analogous
#5E1784 #841773 #84173C
triadic
#841773 #738417 #177384
tetradic
#841773 #845E17 #178428 #173C84
square
#841773 #845E17 #178428 #173C84
split-complementary
#841773 #3C8417 #17845E
monochromatic
#1C0518 #500E46 #841773 #B820A0 #DC39C3

Accessibility & contrast

On white

8.93
#841773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#841773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841773
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841773#FFFFFF#000000##FFFFFF
##8417731.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#414F71
Tritanopia (blue-blind)
#8B2145
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841773;
/* rgb */ color: rgb(132, 23, 115);
/* oklch */ color: oklch(43.0% 0.172 335.7);
Tailwind
colors: {
  custom: {
    50: '#ab639b',
    500: '#841773',
    950: '#000000',
  },
}
SCSS
$custom: #841773;
$custom-light: #ab639b;
$custom-dark: #000000;
JSON
{
  "hex": "#841773",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 309.358,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43021,
    "c": 0.17184,
    "h": 335.7
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#841773
secondary
#3FB852
accent
#ED573B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841773

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

Preview Lab → · Contrast checker → · Palette generator →

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