#872379#872379

#872379 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.165 H 334.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#872379
RGBrgb(135, 35, 121)
HSLhsl(308, 59%, 33%)
HSVhsv(308, 74%, 53%)
CMYKcmyk(0%, 74.1%, 10.4%, 47.1%)
CIE-LABlab(33.42, 51.30, -26.23)
CIE-LCHlch(33.42, 57.62, 332.92°)
OKLaboklab(44.79% 0.149 -0.0718)
OKLCHoklch(44.79% 0.165 334.3)
XYZxyz(14.0440, 7.7346, 18.8387)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872379 #238731
analogous
#632387 #872379 #872347
triadic
#872379 #798723 #237987
tetradic
#872379 #876323 #238731 #234787
square
#872379 #876323 #238731 #234787
split-complementary
#872379 #478723 #238763
monochromatic
#260A22 #56164D #872379 #B830A5 #D252C0

Accessibility & contrast

On white

8.25
#872379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#872379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872379
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872379#FFFFFF#000000##FFFFFF
##8723791.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#455477
Tritanopia (blue-blind)
#8E2C4B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872379;
/* rgb */ color: rgb(135, 35, 121);
/* oklch */ color: oklch(44.8% 0.165 334.3);
Tailwind
colors: {
  custom: {
    50: '#ad68a0',
    500: '#872379',
    950: '#000000',
  },
}
SCSS
$custom: #872379;
$custom-light: #ad68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#872379",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 308.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44791,
    "c": 0.16541,
    "h": 334.3
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#872379
secondary
#50B65E
accent
#E25C46
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872379

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

Preview Lab → · Contrast checker → · Palette generator →

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