#842379#842379

#842379 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.164 H 333.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#842379
RGBrgb(132, 35, 121)
HSLhsl(307, 58%, 33%)
HSVhsv(307, 73%, 52%)
CMYKcmyk(0%, 73.5%, 8.3%, 48.2%)
CIE-LABlab(32.90, 50.56, -27.10)
CIE-LCHlch(32.90, 57.36, 331.81°)
OKLaboklab(44.31% 0.1458 -0.0743)
OKLCHoklch(44.31% 0.164 333)
XYZxyz(13.5680, 7.4892, 18.8164)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842379 #23842E
analogous
#5E2384 #842379 #842348
triadic
#842379 #798423 #237984
tetradic
#842379 #845E23 #23842E #234884
square
#842379 #845E23 #23842E #234884
split-complementary
#842379 #488423 #23845E
monochromatic
#230920 #54164D #842379 #B430A5 #D151C2

Accessibility & contrast

On white

8.41
#842379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#842379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842379
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842379#FFFFFF#000000##FFFFFF
##8423791.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447B
Deuteranopia (green-blind)
#435277
Tritanopia (blue-blind)
#8A2D4B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842379;
/* rgb */ color: rgb(132, 35, 121);
/* oklch */ color: oklch(44.3% 0.164 333.0);
Tailwind
colors: {
  custom: {
    50: '#ab68a0',
    500: '#842379',
    950: '#000000',
  },
}
SCSS
$custom: #842379;
$custom-light: #ab68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#842379",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 306.804,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.16365,
    "h": 333
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#842379
secondary
#4EB45A
accent
#E15846
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842379

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

Preview Lab → · Contrast checker → · Palette generator →

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