#84187F#84187F

#84187F is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.180 H 330.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#84187F
RGBrgb(132, 24, 127)
HSLhsl(303, 69%, 31%)
HSVhsv(303, 82%, 52%)
CMYKcmyk(0%, 81.8%, 3.8%, 48.2%)
CIE-LABlab(32.02, 55.02, -32.26)
CIE-LCHlch(32.02, 63.78, 329.62°)
OKLaboklab(43.79% 0.1561 -0.0892)
OKLCHoklch(43.79% 0.18 330.3)
XYZxyz(13.6731, 7.0922, 20.7234)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84187F #18841D
analogous
#531884 #84187F #841849
triadic
#84187F #7F8418 #187F84
tetradic
#84187F #845318 #18841D #184984
square
#84187F #845318 #18841D #184984
split-complementary
#84187F #498418 #188453
monochromatic
#1C051B #500F4D #84187F #B821B1 #DB3BD4

Accessibility & contrast

On white

8.68
#84187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#84187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84187F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84187F#FFFFFF#000000##FFFFFF
##84187F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044282
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#89294C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #84187f;
/* rgb */ color: rgb(132, 24, 127);
/* oklch */ color: oklch(43.8% 0.180 330.3);
Tailwind
colors: {
  custom: {
    50: '#ab64a4',
    500: '#84187f',
    950: '#000000',
  },
}
SCSS
$custom: #84187f;
$custom-light: #ab64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#84187f",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 302.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43787,
    "c": 0.17976,
    "h": 330.3
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#84187F
secondary
#40B845
accent
#EC443C
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #84187F

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

Preview Lab → · Contrast checker → · Palette generator →

#84187F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva