#84197E#84197E

#84197E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.178 H 330.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#84197E
RGBrgb(132, 25, 126)
HSLhsl(303, 68%, 31%)
HSVhsv(303, 81%, 52%)
CMYKcmyk(0%, 81.1%, 4.5%, 48.2%)
CIE-LABlab(32.05, 54.58, -31.57)
CIE-LCHlch(32.05, 63.06, 329.95°)
OKLaboklab(43.79% 0.1553 -0.0872)
OKLCHoklch(43.79% 0.178 330.7)
XYZxyz(13.6292, 7.1083, 20.3888)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84197E #19841F
analogous
#541984 #84197E #841949
triadic
#84197E #7E8419 #197E84
tetradic
#84197E #845419 #19841F #194984
square
#84197E #845419 #19841F #194984
split-complementary
#84197E #498419 #198454
monochromatic
#1D061C #510F4D #84197E #B723AF #DA3DD1

Accessibility & contrast

On white

8.67
#84197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#84197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84197E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84197E#FFFFFF#000000##FFFFFF
##84197E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094281
Deuteranopia (green-blind)
#3C507C
Tritanopia (blue-blind)
#89294B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #84197e;
/* rgb */ color: rgb(132, 25, 126);
/* oklch */ color: oklch(43.8% 0.178 330.7);
Tailwind
colors: {
  custom: {
    50: '#ab64a4',
    500: '#84197e',
    950: '#000000',
  },
}
SCSS
$custom: #84197e;
$custom-light: #ab64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#84197e",
  "rgb": {
    "r": 132,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 303.364,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43794,
    "c": 0.1781,
    "h": 330.7
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#84197E
secondary
#41B848
accent
#EB473D
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #84197E

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

Preview Lab → · Contrast checker → · Palette generator →

#84197E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva