#872579#872579

#872579 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.163 H 334.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#872579
RGBrgb(135, 37, 121)
HSLhsl(309, 57%, 34%)
HSVhsv(309, 73%, 53%)
CMYKcmyk(0%, 72.6%, 10.4%, 47.1%)
CIE-LABlab(33.68, 50.57, -25.83)
CIE-LCHlch(33.68, 56.79, 332.95°)
OKLaboklab(44.98% 0.1469 -0.0706)
OKLCHoklch(44.98% 0.163 334.3)
XYZxyz(14.1046, 7.8557, 18.8589)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872579 #258733
analogous
#642587 #872579 #872548
triadic
#872579 #798725 #257987
tetradic
#872579 #876425 #258733 #254887
square
#872579 #876425 #258733 #254887
split-complementary
#872579 #488725 #258764
monochromatic
#270B23 #57184E #872579 #B732A4 #D156BF

Accessibility & contrast

On white

8.17
#872579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#872579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872579
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872579#FFFFFF#000000##FFFFFF
##8725791.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#465477
Tritanopia (blue-blind)
#8E2D4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872579;
/* rgb */ color: rgb(135, 37, 121);
/* oklch */ color: oklch(45.0% 0.163 334.3);
Tailwind
colors: {
  custom: {
    50: '#ad69a0',
    500: '#872579',
    950: '#000000',
  },
}
SCSS
$custom: #872579;
$custom-light: #ad69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#872579",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 308.571,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44976,
    "c": 0.163,
    "h": 334.3
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#872579
secondary
#53B561
accent
#E05D48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872579

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

Preview Lab → · Contrast checker → · Palette generator →

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