#841772#841772

#841772 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.171 H 336.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#841772
RGBrgb(132, 23, 114)
HSLhsl(310, 70%, 30%)
HSVhsv(310, 83%, 52%)
CMYKcmyk(0%, 82.6%, 13.6%, 48.2%)
CIE-LABlab(31.19, 53.26, -25.34)
CIE-LCHlch(31.19, 58.98, 334.55°)
OKLaboklab(42.97% 0.1565 -0.0692)
OKLCHoklch(42.97% 0.171 336.2)
XYZxyz(12.8596, 6.7345, 16.5389)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841772 #178429
analogous
#5F1784 #841772 #84173C
triadic
#841772 #728417 #177284
tetradic
#841772 #845F17 #178429 #173C84
square
#841772 #845F17 #178429 #173C84
split-complementary
#841772 #3C8417 #17845F
monochromatic
#1C0518 #500E45 #841772 #B8209F #DC39C1

Accessibility & contrast

On white

8.95
#841772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841772
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841772#FFFFFF#000000##FFFFFF
##8417721.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F74
Deuteranopia (green-blind)
#424F70
Tritanopia (blue-blind)
#8B2044
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #841772;
/* rgb */ color: rgb(132, 23, 114);
/* oklch */ color: oklch(43.0% 0.171 336.2);
Tailwind
colors: {
  custom: {
    50: '#ab639b',
    500: '#841772',
    950: '#000000',
  },
}
SCSS
$custom: #841772;
$custom-light: #ab639b;
$custom-dark: #000000;
JSON
{
  "hex": "#841772",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 309.908,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.17114,
    "h": 336.2
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#841772
secondary
#3FB853
accent
#ED583B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841772

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

Preview Lab → · Contrast checker → · Palette generator →

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