#842382#842382

#842382 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.171 H 328.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#842382
RGBrgb(132, 35, 130)
HSLhsl(301, 58%, 33%)
HSVhsv(301, 73%, 52%)
CMYKcmyk(0%, 73.5%, 1.5%, 48.2%)
CIE-LABlab(33.39, 52.07, -31.95)
CIE-LCHlch(33.39, 61.09, 328.47°)
OKLaboklab(44.83% 0.1462 -0.0883)
OKLCHoklch(44.83% 0.171 328.9)
XYZxyz(14.1459, 7.7203, 21.8599)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842382 #238425
analogous
#552384 #842382 #842351
triadic
#842382 #828423 #238284
tetradic
#842382 #845523 #238425 #235184
square
#842382 #845523 #238425 #235184
split-complementary
#842382 #518423 #238455
monochromatic
#230923 #541652 #842382 #B430B2 #D151CE

Accessibility & contrast

On white

8.26
#842382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#842382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842382
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842382#FFFFFF#000000##FFFFFF
##8423821.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144685
Deuteranopia (green-blind)
#3E5380
Tritanopia (blue-blind)
#893150
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842382;
/* rgb */ color: rgb(132, 35, 130);
/* oklch */ color: oklch(44.8% 0.171 328.9);
Tailwind
colors: {
  custom: {
    50: '#ab68a7',
    500: '#842382',
    950: '#000000',
  },
}
SCSS
$custom: #842382;
$custom-light: #ab68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#842382",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 301.237,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44828,
    "c": 0.17082,
    "h": 328.9
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#842382
secondary
#4EB450
accent
#E14A46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #842382

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

Preview Lab → · Contrast checker → · Palette generator →

#842382 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva