#84227A#84227A

#84227A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.166 H 332.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#84227A
RGBrgb(132, 34, 122)
HSLhsl(306, 59%, 33%)
HSVhsv(306, 74%, 52%)
CMYKcmyk(0%, 74.2%, 7.6%, 48.2%)
CIE-LABlab(32.82, 51.08, -27.84)
CIE-LCHlch(32.82, 58.17, 331.41°)
OKLaboklab(44.27% 0.1469 -0.0765)
OKLCHoklch(44.27% 0.166 332.5)
XYZxyz(13.6006, 7.4558, 19.1314)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84227A #22842C
analogous
#5D2284 #84227A #842249
triadic
#84227A #7A8422 #227A84
tetradic
#84227A #845D22 #22842C #224984
square
#84227A #845D22 #22842C #224984
split-complementary
#84227A #498422 #22845D
monochromatic
#230920 #53154D #84227A #B52FA7 #D24FC4

Accessibility & contrast

On white

8.43
#84227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#84227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84227A
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84227A#FFFFFF#000000##FFFFFF
##84227A1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447C
Deuteranopia (green-blind)
#425278
Tritanopia (blue-blind)
#8A2C4B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #84227a;
/* rgb */ color: rgb(132, 34, 122);
/* oklch */ color: oklch(44.3% 0.166 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab68a1',
    500: '#84227a',
    950: '#000000',
  },
}
SCSS
$custom: #84227a;
$custom-light: #ab68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#84227a",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 306.122,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44274,
    "c": 0.16562,
    "h": 332.5
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#84227A
secondary
#4DB557
accent
#E25646
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #84227A

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

Preview Lab → · Contrast checker → · Palette generator →

#84227A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva