#842076#842076

#842076 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.165 H 334.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#842076
RGBrgb(132, 32, 118)
HSLhsl(308, 61%, 32%)
HSVhsv(308, 76%, 52%)
CMYKcmyk(0%, 75.8%, 10.6%, 48.2%)
CIE-LABlab(32.36, 51.13, -26.04)
CIE-LCHlch(32.36, 57.38, 333.01°)
OKLaboklab(43.87% 0.1487 -0.0713)
OKLCHoklch(43.87% 0.165 334.4)
XYZxyz(13.3024, 7.2477, 17.8344)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842076 #20842E
analogous
#602084 #842076 #842044
triadic
#842076 #768420 #207684
tetradic
#842076 #846020 #20842E #204484
square
#842076 #846020 #20842E #204484
split-complementary
#842076 #448420 #208460
monochromatic
#21081E #53144A #842076 #B52CA2 #D34BC0

Accessibility & contrast

On white

8.57
#842076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#842076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842076
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842076#FFFFFF#000000##FFFFFF
##8420761.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4378
Deuteranopia (green-blind)
#435174
Tritanopia (blue-blind)
#8B2949
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842076;
/* rgb */ color: rgb(132, 32, 118);
/* oklch */ color: oklch(43.9% 0.165 334.4);
Tailwind
colors: {
  custom: {
    50: '#ab679e',
    500: '#842076',
    950: '#000000',
  },
}
SCSS
$custom: #842076;
$custom-light: #ab679e;
$custom-dark: #000000;
JSON
{
  "hex": "#842076",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 308.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43874,
    "c": 0.16488,
    "h": 334.4
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#842076
secondary
#4AB659
accent
#E45A44
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #842076

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

Preview Lab → · Contrast checker → · Palette generator →

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