#5D1969#5D1969

#5D1969 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.142 H 321.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#5D1969
RGBrgb(93, 25, 105)
HSLhsl(291, 62%, 25%)
HSVhsv(291, 76%, 41%)
CMYKcmyk(11.4%, 76.2%, 0%, 58.8%)
CIE-LABlab(23.81, 42.01, -31.70)
CIE-LCHlch(23.81, 52.63, 322.96°)
OKLaboklab(36.16% 0.1103 -0.0887)
OKLCHoklch(36.16% 0.142 321.2)
XYZxyz(7.4113, 4.0427, 13.7518)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1969 #256919
analogous
#351969 #5D1969 #69194D
triadic
#5D1969 #695D19 #19695D
tetradic
#5D1969 #693519 #256919 #194D69
square
#5D1969 #693519 #256919 #194D69
split-complementary
#5D1969 #4D6919 #196935
monochromatic
#160619 #310D38 #5D1969 #89259A #B531CC

Accessibility & contrast

On white

11.61
#5D1969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5D1969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1969
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1969#FFFFFF#000000##FFFFFF
##5D19691.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#223B67
Tritanopia (blue-blind)
#5E283F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d1969;
/* rgb */ color: rgb(93, 25, 105);
/* oklch */ color: oklch(36.2% 0.142 321.2);
Tailwind
colors: {
  custom: {
    50: '#8e5d94',
    500: '#5d1969',
    950: '#000000',
  },
}
SCSS
$custom: #5d1969;
$custom-light: #8e5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1969",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 291,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36163,
    "c": 0.14155,
    "h": 321.2
  },
  "luminance": 0.04042
}

Semantic roles & 50–950 ramp

primary
#5D1969
secondary
#4D9F3F
accent
#E5435B
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5D1969

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

Preview Lab → · Contrast checker → · Palette generator →

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