#841572#841572

#841572 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.173 H 336.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#841572
RGBrgb(132, 21, 114)
HSLhsl(310, 73%, 30%)
HSVhsv(310, 84%, 52%)
CMYKcmyk(0%, 84.1%, 13.6%, 48.2%)
CIE-LABlab(31.02, 53.78, -25.62)
CIE-LCHlch(31.02, 59.57, 334.52°)
OKLaboklab(42.84% 0.1581 -0.07)
OKLCHoklch(42.84% 0.173 336.1)
XYZxyz(12.8214, 6.6580, 16.5262)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841572 #158427
analogous
#5F1584 #841572 #84153A
triadic
#841572 #728415 #157284
tetradic
#841572 #845F15 #158427 #153A84
square
#841572 #845F15 #158427 #153A84
split-complementary
#841572 #3A8415 #15845F
monochromatic
#1A0417 #4F0D44 #841572 #B91DA0 #DF35C3

Accessibility & contrast

On white

9.01
#841572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#841572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841572
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841572#FFFFFF#000000##FFFFFF
##8415721.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F74
Deuteranopia (green-blind)
#414F70
Tritanopia (blue-blind)
#8B1F44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #841572;
/* rgb */ color: rgb(132, 21, 114);
/* oklch */ color: oklch(42.8% 0.173 336.1);
Tailwind
colors: {
  custom: {
    50: '#ac629b',
    500: '#841572',
    950: '#000000',
  },
}
SCSS
$custom: #841572;
$custom-light: #ac629b;
$custom-dark: #000000;
JSON
{
  "hex": "#841572",
  "rgb": {
    "r": 132,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 309.73,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.17288,
    "h": 336.1
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#841572
secondary
#3CB950
accent
#EF5639
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841572

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

Preview Lab → · Contrast checker → · Palette generator →

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