#84237E#84237E

#84237E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.168 H 330.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#84237E
RGBrgb(132, 35, 126)
HSLhsl(304, 58%, 33%)
HSVhsv(304, 73%, 52%)
CMYKcmyk(0%, 73.5%, 4.5%, 48.2%)
CIE-LABlab(33.17, 51.39, -29.81)
CIE-LCHlch(33.17, 59.41, 329.88°)
OKLaboklab(44.59% 0.1461 -0.0821)
OKLCHoklch(44.59% 0.168 330.6)
XYZxyz(13.8826, 7.6150, 20.4733)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84237E #238429
analogous
#592384 #84237E #84234E
triadic
#84237E #7E8423 #237E84
tetradic
#84237E #845923 #238429 #234E84
square
#84237E #845923 #238429 #234E84
split-complementary
#84237E #4E8423 #238459
monochromatic
#230922 #541650 #84237E #B430AC #D151C9

Accessibility & contrast

On white

8.32
#84237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#84237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84237E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84237E#FFFFFF#000000##FFFFFF
##84237E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4581
Deuteranopia (green-blind)
#40537C
Tritanopia (blue-blind)
#892F4E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #84237e;
/* rgb */ color: rgb(132, 35, 126);
/* oklch */ color: oklch(44.6% 0.168 330.6);
Tailwind
colors: {
  custom: {
    50: '#ab68a4',
    500: '#84237e',
    950: '#000000',
  },
}
SCSS
$custom: #84237e;
$custom-light: #ab68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#84237e",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 303.711,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44593,
    "c": 0.1676,
    "h": 330.6
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#84237E
secondary
#4EB455
accent
#E15046
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #84237E

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

Preview Lab → · Contrast checker → · Palette generator →

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