#84227F#84227F

#84227F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.170 H 330.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#84227F
RGBrgb(132, 34, 127)
HSLhsl(303, 59%, 33%)
HSVhsv(303, 74%, 52%)
CMYKcmyk(0%, 74.2%, 3.8%, 48.2%)
CIE-LABlab(33.10, 51.91, -30.54)
CIE-LCHlch(33.10, 60.23, 329.53°)
OKLaboklab(44.56% 0.1471 -0.0843)
OKLCHoklch(44.56% 0.17 330.2)
XYZxyz(13.9184, 7.5830, 20.8051)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84227F #228427
analogous
#582284 #84227F #84224E
triadic
#84227F #7F8422 #227F84
tetradic
#84227F #845822 #228427 #224E84
square
#84227F #845822 #228427 #224E84
split-complementary
#84227F #4E8422 #228458
monochromatic
#230921 #531550 #84227F #B52FAE #D24FCB

Accessibility & contrast

On white

8.35
#84227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#84227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84227F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84227F#FFFFFF#000000##FFFFFF
##84227F1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174582
Deuteranopia (green-blind)
#3F537D
Tritanopia (blue-blind)
#892F4E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #84227f;
/* rgb */ color: rgb(132, 34, 127);
/* oklch */ color: oklch(44.6% 0.170 330.2);
Tailwind
colors: {
  custom: {
    50: '#ab68a4',
    500: '#84227f',
    950: '#000000',
  },
}
SCSS
$custom: #84227f;
$custom-light: #ab68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#84227f",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 303.061,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.16956,
    "h": 330.2
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#84227F
secondary
#4DB552
accent
#E24E46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #84227F

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

Preview Lab → · Contrast checker → · Palette generator →

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