#841372#841372

#841372 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.174 H 336.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#841372
RGBrgb(132, 19, 114)
HSLhsl(310, 75%, 30%)
HSVhsv(310, 86%, 52%)
CMYKcmyk(0%, 85.6%, 13.6%, 48.2%)
CIE-LABlab(30.85, 54.26, -25.89)
CIE-LCHlch(30.85, 60.12, 334.50°)
OKLaboklab(42.72% 0.1595 -0.0707)
OKLCHoklch(42.72% 0.175 336.1)
XYZxyz(12.7861, 6.5874, 16.5144)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841372 #138425
analogous
#5E1384 #841372 #841339
triadic
#841372 #728413 #137284
tetradic
#841372 #845E13 #138425 #133984
square
#841372 #845E13 #138425 #133984
split-complementary
#841372 #398413 #13845E
monochromatic
#1B0417 #4F0B44 #841372 #B91BA0 #E130C5

Accessibility & contrast

On white

9.06
#841372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#841372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841372
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841372#FFFFFF#000000##FFFFFF
##8413721.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E74
Deuteranopia (green-blind)
#404E70
Tritanopia (blue-blind)
#8B1E43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #841372;
/* rgb */ color: rgb(132, 19, 114);
/* oklch */ color: oklch(42.7% 0.174 336.1);
Tailwind
colors: {
  custom: {
    50: '#ac629b',
    500: '#841372',
    950: '#000000',
  },
}
SCSS
$custom: #841372;
$custom-light: #ac629b;
$custom-dark: #000000;
JSON
{
  "hex": "#841372",
  "rgb": {
    "r": 132,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 309.558,
    "s": 74.834,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42718,
    "c": 0.1745,
    "h": 336.1
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#841372
secondary
#3AB94E
accent
#F15436
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841372

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

Preview Lab → · Contrast checker → · Palette generator →

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