#842479#842479

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

Color values

HEX#842479
RGBrgb(132, 36, 121)
HSLhsl(307, 57%, 33%)
HSVhsv(307, 73%, 52%)
CMYKcmyk(0%, 72.7%, 8.3%, 48.2%)
CIE-LABlab(33.03, 50.19, -26.89)
CIE-LCHlch(33.03, 56.94, 331.82°)
OKLaboklab(44.4% 0.1447 -0.0737)
OKLCHoklch(44.4% 0.162 333)
XYZxyz(13.5979, 7.5489, 18.8264)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842479 #24842F
analogous
#5F2484 #842479 #842449
triadic
#842479 #798424 #247984
tetradic
#842479 #845F24 #24842F #244984
square
#842479 #845F24 #24842F #244984
split-complementary
#842479 #498424 #24845F
monochromatic
#240A21 #54174D #842479 #B431A5 #D052C2

Accessibility & contrast

On white

8.37
#842479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#842479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842479
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842479#FFFFFF#000000##FFFFFF
##8424791.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#435377
Tritanopia (blue-blind)
#8A2D4C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842479;
/* rgb */ color: rgb(132, 36, 121);
/* oklch */ color: oklch(44.4% 0.162 333.0);
Tailwind
colors: {
  custom: {
    50: '#ab68a0',
    500: '#842479',
    950: '#000000',
  },
}
SCSS
$custom: #842479;
$custom-light: #ab68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#842479",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 306.875,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44402,
    "c": 0.16244,
    "h": 333
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#842479
secondary
#50B45B
accent
#E05947
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842479

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

Preview Lab → · Contrast checker → · Palette generator →

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