#842977#842977

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

Color values

HEX#842977
RGBrgb(132, 41, 119)
HSLhsl(309, 53%, 34%)
HSVhsv(309, 69%, 52%)
CMYKcmyk(0%, 68.9%, 9.8%, 48.2%)
CIE-LABlab(33.61, 47.91, -24.71)
CIE-LCHlch(33.61, 53.91, 332.72°)
OKLaboklab(44.8% 0.1388 -0.0675)
OKLCHoklch(44.8% 0.154 334.1)
XYZxyz(13.6385, 7.8244, 18.2411)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842977 #298436
analogous
#642984 #842977 #84294A
triadic
#842977 #778429 #297784
tetradic
#842977 #846429 #298436 #294A84
square
#842977 #846429 #298436 #294A84
split-complementary
#842977 #4A8429 #298464
monochromatic
#270C23 #551A4D #842977 #B338A1 #CC5BBC

Accessibility & contrast

On white

8.19
#842977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842977
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842977#FFFFFF#000000##FFFFFF
##8429771.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842977;
/* rgb */ color: rgb(132, 41, 119);
/* oklch */ color: oklch(44.8% 0.154 334.1);
Tailwind
colors: {
  custom: {
    50: '#ab6b9e',
    500: '#842977',
    950: '#000000',
  },
}
SCSS
$custom: #842977;
$custom-light: #ab6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#842977",
  "rgb": {
    "r": 132,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 308.571,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44795,
    "c": 0.15438,
    "h": 334.1
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#842977
secondary
#57B264
accent
#DC604C
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842977

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

Preview Lab → · Contrast checker → · Palette generator →

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