#5D1666#5D1666

#5D1666 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.142 H 322.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#5D1666
RGBrgb(93, 22, 102)
HSLhsl(293, 65%, 24%)
HSVhsv(293, 78%, 40%)
CMYKcmyk(8.8%, 78.4%, 0%, 60%)
CIE-LABlab(23.21, 42.56, -30.72)
CIE-LCHlch(23.21, 52.49, 324.18°)
OKLaboklab(35.67% 0.1136 -0.0858)
OKLCHoklch(35.67% 0.142 322.9)
XYZxyz(7.1992, 3.8607, 12.9338)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1666 #1F6616
analogous
#351666 #5D1666 #661647
triadic
#5D1666 #665D16 #16665D
tetradic
#5D1666 #663516 #1F6616 #164766
square
#5D1666 #663516 #1F6616 #164766
split-complementary
#5D1666 #476616 #166635
monochromatic
#170519 #2F0B34 #5D1666 #8B2198 #B92CCB

Accessibility & contrast

On white

11.85
#5D1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5D1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1666
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1666#FFFFFF#000000##FFFFFF
##5D16661.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#233A64
Tritanopia (blue-blind)
#5E253D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1666;
/* rgb */ color: rgb(93, 22, 102);
/* oklch */ color: oklch(35.7% 0.142 322.9);
Tailwind
colors: {
  custom: {
    50: '#8e5c92',
    500: '#5d1666',
    950: '#000000',
  },
}
SCSS
$custom: #5d1666;
$custom-light: #8e5c92;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1666",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 293.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35666,
    "c": 0.14239,
    "h": 322.9
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#5D1666
secondary
#469D3B
accent
#E84053
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5D1666

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

Preview Lab → · Contrast checker → · Palette generator →

#5D1666 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva