#842976#842976

#842976 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.154 H 334.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#842976
RGBrgb(132, 41, 118)
HSLhsl(309, 53%, 34%)
HSVhsv(309, 69%, 52%)
CMYKcmyk(0%, 68.9%, 10.6%, 48.2%)
CIE-LABlab(33.56, 47.75, -24.16)
CIE-LCHlch(33.56, 53.51, 333.16°)
OKLaboklab(44.74% 0.1387 -0.0659)
OKLCHoklch(44.74% 0.154 334.6)
XYZxyz(13.5788, 7.8005, 17.9265)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842976 #298437
analogous
#652984 #842976 #842949
triadic
#842976 #768429 #297684
tetradic
#842976 #846529 #298437 #294984
square
#842976 #846529 #298437 #294984
split-complementary
#842976 #498429 #298465
monochromatic
#270C23 #551A4C #842976 #B338A0 #CC5BBB

Accessibility & contrast

On white

8.20
#842976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#842976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842976
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842976#FFFFFF#000000##FFFFFF
##8429761.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#8A304C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842976;
/* rgb */ color: rgb(132, 41, 118);
/* oklch */ color: oklch(44.7% 0.154 334.6);
Tailwind
colors: {
  custom: {
    50: '#ab6b9e',
    500: '#842976',
    950: '#000000',
  },
}
SCSS
$custom: #842976;
$custom-light: #ab6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#842976",
  "rgb": {
    "r": 132,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 309.231,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.15359,
    "h": 334.6
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#842976
secondary
#57B265
accent
#DC624C
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842976

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

Preview Lab → · Contrast checker → · Palette generator →

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