#5D1869#5D1869

#5D1869 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.143 H 321.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#5D1869
RGBrgb(93, 24, 105)
HSLhsl(291, 63%, 25%)
HSVhsv(291, 77%, 41%)
CMYKcmyk(11.4%, 77.1%, 0%, 58.8%)
CIE-LABlab(23.67, 42.40, -31.93)
CIE-LCHlch(23.67, 53.08, 323.02°)
OKLaboklab(36.06% 0.1114 -0.0893)
OKLCHoklch(36.06% 0.143 321.3)
XYZxyz(7.3903, 4.0007, 13.7448)
Luminance0.0400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1869 #246918
analogous
#341869 #5D1869 #69184C
triadic
#5D1869 #695D18 #18695D
tetradic
#5D1869 #693418 #246918 #184C69
square
#5D1869 #693418 #246918 #184C69
split-complementary
#5D1869 #4C6918 #186934
monochromatic
#160619 #310D37 #5D1869 #89239B #B52FCD

Accessibility & contrast

On white

11.67
#5D1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5D1869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1869
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1869#FFFFFF#000000##FFFFFF
##5D18691.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d1869;
/* rgb */ color: rgb(93, 24, 105);
/* oklch */ color: oklch(36.1% 0.143 321.3);
Tailwind
colors: {
  custom: {
    50: '#8e5d94',
    500: '#5d1869',
    950: '#000000',
  },
}
SCSS
$custom: #5d1869;
$custom-light: #8e5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1869",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 291.111,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36064,
    "c": 0.14277,
    "h": 321.3
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#5D1869
secondary
#4C9F3E
accent
#E6425A
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5D1869

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

Preview Lab → · Contrast checker → · Palette generator →

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