#841472#841472

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

Color values

HEX#841472
RGBrgb(132, 20, 114)
HSLhsl(310, 74%, 30%)
HSVhsv(310, 85%, 52%)
CMYKcmyk(0%, 84.8%, 13.6%, 48.2%)
CIE-LABlab(30.93, 54.02, -25.76)
CIE-LCHlch(30.93, 59.85, 334.51°)
OKLaboklab(42.78% 0.1588 -0.0704)
OKLCHoklch(42.78% 0.174 336.1)
XYZxyz(12.8034, 6.6220, 16.5202)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841472 #148426
analogous
#5E1484 #841472 #84143A
triadic
#841472 #728414 #147284
tetradic
#841472 #845E14 #148426 #143A84
square
#841472 #845E14 #148426 #143A84
split-complementary
#841472 #3A8414 #14845E
monochromatic
#1B0417 #4F0C44 #841472 #B91CA0 #E032C4

Accessibility & contrast

On white

9.04
#841472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841472
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841472#FFFFFF#000000##FFFFFF
##8414721.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#414F70
Tritanopia (blue-blind)
#8B1E44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #841472;
/* rgb */ color: rgb(132, 20, 114);
/* oklch */ color: oklch(42.8% 0.174 336.1);
Tailwind
colors: {
  custom: {
    50: '#ac629b',
    500: '#841472',
    950: '#000000',
  },
}
SCSS
$custom: #841472;
$custom-light: #ac629b;
$custom-dark: #000000;
JSON
{
  "hex": "#841472",
  "rgb": {
    "r": 132,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 309.643,
    "s": 73.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.1737,
    "h": 336.1
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#841472
secondary
#3BB94F
accent
#F05537
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841472

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

Preview Lab → · Contrast checker → · Palette generator →

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