#842079#842079

#842079 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.167 H 333.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#842079
RGBrgb(132, 32, 121)
HSLhsl(307, 61%, 32%)
HSVhsv(307, 76%, 52%)
CMYKcmyk(0%, 75.8%, 8.3%, 48.2%)
CIE-LABlab(32.52, 51.61, -27.68)
CIE-LCHlch(32.52, 58.57, 331.79°)
OKLaboklab(44.04% 0.1489 -0.076)
OKLCHoklch(44.04% 0.167 333)
XYZxyz(13.4835, 7.3202, 18.7882)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842079 #20842B
analogous
#5D2084 #842079 #842047
triadic
#842079 #798420 #207984
tetradic
#842079 #845D20 #20842B #204784
square
#842079 #845D20 #20842B #204784
split-complementary
#842079 #478420 #20845D
monochromatic
#21081F #53144C #842079 #B52CA6 #D34BC4

Accessibility & contrast

On white

8.52
#842079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#842079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842079
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842079#FFFFFF#000000##FFFFFF
##8420791.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#415277
Tritanopia (blue-blind)
#8A2A4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842079;
/* rgb */ color: rgb(132, 32, 121);
/* oklch */ color: oklch(44.0% 0.167 333.0);
Tailwind
colors: {
  custom: {
    50: '#ab67a0',
    500: '#842079',
    950: '#000000',
  },
}
SCSS
$custom: #842079;
$custom-light: #ab67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#842079",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 306.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.16715,
    "h": 333
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#842079
secondary
#4AB656
accent
#E45544
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #842079

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

Preview Lab → · Contrast checker → · Palette generator →

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