#5D1667#5D1667

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

Color values

HEX#5D1667
RGBrgb(93, 22, 103)
HSLhsl(293, 65%, 25%)
HSVhsv(293, 79%, 40%)
CMYKcmyk(9.7%, 78.6%, 0%, 59.6%)
CIE-LABlab(23.27, 42.76, -31.26)
CIE-LCHlch(23.27, 52.97, 323.83°)
OKLaboklab(35.74% 0.1136 -0.0874)
OKLCHoklch(35.74% 0.143 322.4)
XYZxyz(7.2490, 3.8807, 13.1966)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1667 #206716
analogous
#351667 #5D1667 #671649
triadic
#5D1667 #675D16 #16675D
tetradic
#5D1667 #673516 #206716 #164967
square
#5D1667 #673516 #206716 #164967
split-complementary
#5D1667 #496716 #166735
monochromatic
#170519 #2F0B35 #5D1667 #8B2199 #B82CCC

Accessibility & contrast

On white

11.82
#5D1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5D1667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1667
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1667#FFFFFF#000000##FFFFFF
##5D16671.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#223A65
Tritanopia (blue-blind)
#5E253D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1667;
/* rgb */ color: rgb(93, 22, 103);
/* oklch */ color: oklch(35.7% 0.143 322.4);
Tailwind
colors: {
  custom: {
    50: '#8e5c93',
    500: '#5d1667',
    950: '#000000',
  },
}
SCSS
$custom: #5d1667;
$custom-light: #8e5c93;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1667",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 292.593,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35735,
    "c": 0.14329,
    "h": 322.4
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#5D1667
secondary
#479E3B
accent
#E84055
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5D1667

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

Preview Lab → · Contrast checker → · Palette generator →

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