#84227D#84227D

#84227D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.168 H 331.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#84227D
RGBrgb(132, 34, 125)
HSLhsl(304, 59%, 33%)
HSVhsv(304, 74%, 52%)
CMYKcmyk(0%, 74.2%, 5.3%, 48.2%)
CIE-LABlab(32.99, 51.58, -29.47)
CIE-LCHlch(32.99, 59.40, 330.26°)
OKLaboklab(44.45% 0.1471 -0.0811)
OKLCHoklch(44.45% 0.168 331.1)
XYZxyz(13.7894, 7.5313, 20.1255)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84227D #228429
analogous
#5A2284 #84227D #84224C
triadic
#84227D #7D8422 #227D84
tetradic
#84227D #845A22 #228429 #224C84
square
#84227D #845A22 #228429 #224C84
split-complementary
#84227D #4C8422 #22845A
monochromatic
#230921 #53154F #84227D #B52FAB #D24FC8

Accessibility & contrast

On white

8.38
#84227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#84227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84227D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84227D#FFFFFF#000000##FFFFFF
##84227D1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#40527B
Tritanopia (blue-blind)
#892E4D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #84227d;
/* rgb */ color: rgb(132, 34, 125);
/* oklch */ color: oklch(44.4% 0.168 331.1);
Tailwind
colors: {
  custom: {
    50: '#ab68a3',
    500: '#84227d',
    950: '#000000',
  },
}
SCSS
$custom: #84227d;
$custom-light: #ab68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#84227d",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 304.286,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44445,
    "c": 0.16797,
    "h": 331.1
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#84227D
secondary
#4DB554
accent
#E25146
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #84227D

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

Preview Lab → · Contrast checker → · Palette generator →

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