#842580#842580

#842580 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.167 H 329.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#842580
RGBrgb(132, 37, 128)
HSLhsl(303, 56%, 33%)
HSVhsv(303, 72%, 52%)
CMYKcmyk(0%, 72%, 3%, 48.2%)
CIE-LABlab(33.54, 50.99, -30.47)
CIE-LCHlch(33.54, 59.41, 329.14°)
OKLaboklab(44.9% 0.1441 -0.0841)
OKLCHoklch(44.9% 0.167 329.7)
XYZxyz(14.0735, 7.7882, 21.1799)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842580 #258429
analogous
#582584 #842580 #842550
triadic
#842580 #808425 #258084
tetradic
#842580 #845825 #258429 #255084
square
#842580 #845825 #258429 #255084
split-complementary
#842580 #508425 #258458
monochromatic
#240A23 #541852 #842580 #B432AE #CF54CA

Accessibility & contrast

On white

8.21
#842580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842580
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842580#FFFFFF#000000##FFFFFF
##8425801.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4783
Deuteranopia (green-blind)
#40537E
Tritanopia (blue-blind)
#893150
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842580;
/* rgb */ color: rgb(132, 37, 128);
/* oklch */ color: oklch(44.9% 0.167 329.7);
Tailwind
colors: {
  custom: {
    50: '#ab69a5',
    500: '#842580',
    950: '#000000',
  },
}
SCSS
$custom: #842580;
$custom-light: #ab69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#842580",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 302.526,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44895,
    "c": 0.16681,
    "h": 329.7
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#842580
secondary
#51B355
accent
#E04F48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #842580

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

Preview Lab → · Contrast checker → · Palette generator →

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