#84227E#84227E

#84227E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.169 H 330.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#84227E
RGBrgb(132, 34, 126)
HSLhsl(304, 59%, 33%)
HSVhsv(304, 74%, 52%)
CMYKcmyk(0%, 74.2%, 4.5%, 48.2%)
CIE-LABlab(33.04, 51.74, -30.00)
CIE-LCHlch(33.04, 59.81, 329.89°)
OKLaboklab(44.5% 0.1471 -0.0827)
OKLCHoklch(44.5% 0.169 330.7)
XYZxyz(13.8536, 7.5570, 20.4636)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84227E #228428
analogous
#592284 #84227E #84224D
triadic
#84227E #7E8422 #227E84
tetradic
#84227E #845922 #228428 #224D84
square
#84227E #845922 #228428 #224D84
split-complementary
#84227E #4D8422 #228459
monochromatic
#230921 #531550 #84227E #B52FAC #D24FCA

Accessibility & contrast

On white

8.36
#84227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #84227E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84227E#FFFFFF#000000##FFFFFF
##84227E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184581
Deuteranopia (green-blind)
#40527C
Tritanopia (blue-blind)
#892E4E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #84227e;
/* rgb */ color: rgb(132, 34, 126);
/* oklch */ color: oklch(44.5% 0.169 330.7);
Tailwind
colors: {
  custom: {
    50: '#ab68a4',
    500: '#84227e',
    950: '#000000',
  },
}
SCSS
$custom: #84227e;
$custom-light: #ab68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#84227e",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 303.673,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44503,
    "c": 0.16877,
    "h": 330.7
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#84227E
secondary
#4DB553
accent
#E24F46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #84227E

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

Preview Lab → · Contrast checker → · Palette generator →

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