#861B79#861B79

#861B79 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.174 H 333.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#861B79
RGBrgb(134, 27, 121)
HSLhsl(307, 66%, 32%)
HSVhsv(307, 80%, 53%)
CMYKcmyk(0%, 79.9%, 9.7%, 47.5%)
CIE-LABlab(32.33, 53.66, -27.96)
CIE-LCHlch(32.33, 60.51, 332.48°)
OKLaboklab(43.97% 0.1556 -0.0767)
OKLCHoklch(43.97% 0.174 333.8)
XYZxyz(13.6748, 7.2339, 18.7615)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861B79 #1B8628
analogous
#5E1B86 #861B79 #861B44
triadic
#861B79 #79861B #1B7986
tetradic
#861B79 #865E1B #1B8628 #1B4486
square
#861B79 #865E1B #1B8628 #1B4486
split-complementary
#861B79 #44861B #1B865E
monochromatic
#20061D #53114B #861B79 #B925A7 #D942C7

Accessibility & contrast

On white

8.58
#861B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#861B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861B79
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861B79#FFFFFF#000000##FFFFFF
##861B791.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#415177
Tritanopia (blue-blind)
#8C2649
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #861b79;
/* rgb */ color: rgb(134, 27, 121);
/* oklch */ color: oklch(44.0% 0.174 333.8);
Tailwind
colors: {
  custom: {
    50: '#ad65a0',
    500: '#861b79',
    950: '#000000',
  },
}
SCSS
$custom: #861b79;
$custom-light: #ad65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#861b79",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 307.29,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43973,
    "c": 0.17351,
    "h": 333.8
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#861B79
secondary
#44B952
accent
#E9533E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #861B79

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

Preview Lab → · Contrast checker → · Palette generator →

#861B79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva