#872079#872079

#872079 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.169 H 334.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#872079
RGBrgb(135, 32, 121)
HSLhsl(308, 62%, 33%)
HSVhsv(308, 76%, 53%)
CMYKcmyk(0%, 76.3%, 10.4%, 47.1%)
CIE-LABlab(33.06, 52.33, -26.80)
CIE-LCHlch(33.06, 58.80, 332.88°)
OKLaboklab(44.53% 0.1521 -0.0734)
OKLCHoklch(44.53% 0.169 334.2)
XYZxyz(13.9595, 7.5656, 18.8106)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872079 #20872E
analogous
#612087 #872079 #872046
triadic
#872079 #798720 #207987
tetradic
#872079 #876120 #20872E #204687
square
#872079 #876120 #20872E #204687
split-complementary
#872079 #468720 #208761
monochromatic
#240920 #56144D #872079 #B82CA5 #D54DC2

Accessibility & contrast

On white

8.36
#872079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#872079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872079
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872079#FFFFFF#000000##FFFFFF
##8720791.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#445377
Tritanopia (blue-blind)
#8E2A4A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872079;
/* rgb */ color: rgb(135, 32, 121);
/* oklch */ color: oklch(44.5% 0.169 334.2);
Tailwind
colors: {
  custom: {
    50: '#ad67a0',
    500: '#872079',
    950: '#000000',
  },
}
SCSS
$custom: #872079;
$custom-light: #ad67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#872079",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 308.155,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4453,
    "c": 0.16885,
    "h": 334.2
  },
  "luminance": 0.07564
}

Semantic roles & 50–950 ramp

primary
#872079
secondary
#4BB85A
accent
#E55943
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872079

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

Preview Lab → · Contrast checker → · Palette generator →

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