#84237F#84237F

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

Color values

HEX#84237F
RGBrgb(132, 35, 127)
HSLhsl(303, 58%, 33%)
HSVhsv(303, 73%, 52%)
CMYKcmyk(0%, 73.5%, 3.8%, 48.2%)
CIE-LABlab(33.22, 51.56, -30.34)
CIE-LCHlch(33.22, 59.82, 329.52°)
OKLaboklab(44.65% 0.1461 -0.0837)
OKLCHoklch(44.65% 0.168 330.2)
XYZxyz(13.9475, 7.6410, 20.8148)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84237F #238428
analogous
#592384 #84237F #84234E
triadic
#84237F #7F8423 #237F84
tetradic
#84237F #845923 #238428 #234E84
square
#84237F #845923 #238428 #234E84
split-complementary
#84237F #4E8423 #238459
monochromatic
#230922 #541650 #84237F #B430AE #D151CA

Accessibility & contrast

On white

8.31
#84237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#84237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84237F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84237F#FFFFFF#000000##FFFFFF
##84237F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184682
Deuteranopia (green-blind)
#40537D
Tritanopia (blue-blind)
#892F4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #84237f;
/* rgb */ color: rgb(132, 35, 127);
/* oklch */ color: oklch(44.7% 0.168 330.2);
Tailwind
colors: {
  custom: {
    50: '#ab68a4',
    500: '#84237f',
    950: '#000000',
  },
}
SCSS
$custom: #84237f;
$custom-light: #ab68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#84237f",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 303.093,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44651,
    "c": 0.16839,
    "h": 330.2
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#84237F
secondary
#4EB454
accent
#E14E46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #84237F

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

Preview Lab → · Contrast checker → · Palette generator →

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