#872279#872279

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

Color values

HEX#872279
RGBrgb(135, 34, 121)
HSLhsl(308, 60%, 33%)
HSVhsv(308, 75%, 53%)
CMYKcmyk(0%, 74.8%, 10.4%, 47.1%)
CIE-LABlab(33.30, 51.65, -26.43)
CIE-LCHlch(33.30, 58.02, 332.91°)
OKLaboklab(44.7% 0.1501 -0.0723)
OKLCHoklch(44.7% 0.167 334.3)
XYZxyz(14.0150, 7.6766, 18.8291)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872279 #228730
analogous
#622287 #872279 #872246
triadic
#872279 #798722 #227987
tetradic
#872279 #876222 #228730 #224687
square
#872279 #876222 #228730 #224687
split-complementary
#872279 #468722 #228762
monochromatic
#250921 #56164D #872279 #B82EA5 #D350C1

Accessibility & contrast

On white

8.28
#872279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#872279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872279
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872279#FFFFFF#000000##FFFFFF
##8722791.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#455477
Tritanopia (blue-blind)
#8E2B4B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872279;
/* rgb */ color: rgb(135, 34, 121);
/* oklch */ color: oklch(44.7% 0.167 334.3);
Tailwind
colors: {
  custom: {
    50: '#ad68a0',
    500: '#872279',
    950: '#000000',
  },
}
SCSS
$custom: #872279;
$custom-light: #ad68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#872279",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 308.317,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44702,
    "c": 0.16659,
    "h": 334.3
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#872279
secondary
#4EB75D
accent
#E35B45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872279

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

Preview Lab → · Contrast checker → · Palette generator →

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