#84227B#84227B

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

Color values

HEX#84227B
RGBrgb(132, 34, 123)
HSLhsl(306, 59%, 33%)
HSVhsv(306, 74%, 52%)
CMYKcmyk(0%, 74.2%, 6.8%, 48.2%)
CIE-LABlab(32.88, 51.24, -28.38)
CIE-LCHlch(32.88, 58.58, 331.02°)
OKLaboklab(44.33% 0.147 -0.078)
OKLCHoklch(44.33% 0.166 332)
XYZxyz(13.6629, 7.4808, 19.4594)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84227B #22842B
analogous
#5C2284 #84227B #84224A
triadic
#84227B #7B8422 #227B84
tetradic
#84227B #845C22 #22842B #224A84
square
#84227B #845C22 #22842B #224A84
split-complementary
#84227B #4A8422 #22845C
monochromatic
#230920 #53154E #84227B #B52FA8 #D24FC6

Accessibility & contrast

On white

8.41
#84227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#84227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84227B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84227B#FFFFFF#000000##FFFFFF
##84227B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447D
Deuteranopia (green-blind)
#415279
Tritanopia (blue-blind)
#8A2D4C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #84227b;
/* rgb */ color: rgb(132, 34, 123);
/* oklch */ color: oklch(44.3% 0.166 332.0);
Tailwind
colors: {
  custom: {
    50: '#ab68a1',
    500: '#84227b',
    950: '#000000',
  },
}
SCSS
$custom: #84227b;
$custom-light: #ab68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#84227b",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 305.51,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44331,
    "c": 0.1664,
    "h": 332
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#84227B
secondary
#4DB556
accent
#E25446
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #84227B

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

Preview Lab → · Contrast checker → · Palette generator →

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