#842476#842476

#842476 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.160 H 334.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#842476
RGBrgb(132, 36, 118)
HSLhsl(309, 57%, 33%)
HSVhsv(309, 73%, 52%)
CMYKcmyk(0%, 72.7%, 10.6%, 48.2%)
CIE-LABlab(32.87, 49.70, -25.25)
CIE-LCHlch(32.87, 55.75, 333.07°)
OKLaboklab(44.24% 0.1445 -0.069)
OKLCHoklch(44.24% 0.16 334.5)
XYZxyz(13.4167, 7.4764, 17.8725)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842476 #248432
analogous
#622484 #842476 #842446
triadic
#842476 #768424 #247684
tetradic
#842476 #846224 #248432 #244684
square
#842476 #846224 #248432 #244684
split-complementary
#842476 #468424 #248462
monochromatic
#240A20 #54174B #842476 #B431A1 #D052BE

Accessibility & contrast

On white

8.42
#842476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#842476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842476
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842476#FFFFFF#000000##FFFFFF
##8424761.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#8A2C4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842476;
/* rgb */ color: rgb(132, 36, 118);
/* oklch */ color: oklch(44.2% 0.160 334.5);
Tailwind
colors: {
  custom: {
    50: '#ab689e',
    500: '#842476',
    950: '#000000',
  },
}
SCSS
$custom: #842476;
$custom-light: #ab689e;
$custom-dark: #000000;
JSON
{
  "hex": "#842476",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 308.75,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44237,
    "c": 0.16011,
    "h": 334.5
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#842476
secondary
#50B45E
accent
#E05E47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842476

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

Preview Lab → · Contrast checker → · Palette generator →

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