#84227C#84227C

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

Color values

HEX#84227C
RGBrgb(132, 34, 124)
HSLhsl(305, 59%, 33%)
HSVhsv(305, 74%, 52%)
CMYKcmyk(0%, 74.2%, 6.1%, 48.2%)
CIE-LABlab(32.93, 51.41, -28.93)
CIE-LCHlch(32.93, 58.99, 330.64°)
OKLaboklab(44.39% 0.147 -0.0796)
OKLCHoklch(44.39% 0.167 331.6)
XYZxyz(13.7258, 7.5059, 19.7907)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84227C #22842A
analogous
#5B2284 #84227C #84224B
triadic
#84227C #7C8422 #227C84
tetradic
#84227C #845B22 #22842A #224B84
square
#84227C #845B22 #22842A #224B84
split-complementary
#84227C #4B8422 #22845B
monochromatic
#230921 #53154E #84227C #B52FAA #D24FC7

Accessibility & contrast

On white

8.40
#84227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #84227C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84227C#FFFFFF#000000##FFFFFF
##84227C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457E
Deuteranopia (green-blind)
#41527A
Tritanopia (blue-blind)
#8A2D4D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #84227c;
/* rgb */ color: rgb(132, 34, 124);
/* oklch */ color: oklch(44.4% 0.167 331.6);
Tailwind
colors: {
  custom: {
    50: '#ab68a2',
    500: '#84227c',
    950: '#000000',
  },
}
SCSS
$custom: #84227c;
$custom-light: #ab68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#84227c",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 304.898,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.16719,
    "h": 331.6
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

primary
#84227C
secondary
#4DB555
accent
#E25246
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #84227C

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

Preview Lab → · Contrast checker → · Palette generator →

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