#5D1D73#5D1D73

#5D1D73 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.146 H 316.0°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#5D1D73
RGBrgb(93, 29, 115)
HSLhsl(285, 60%, 28%)
HSVhsv(285, 75%, 45%)
CMYKcmyk(19.1%, 74.8%, 0%, 54.9%)
CIE-LABlab(25.09, 42.45, -36.11)
CIE-LCHlch(25.09, 55.73, 319.62°)
OKLaboklab(37.29% 0.1051 -0.1016)
OKLCHoklch(37.29% 0.146 316)
XYZxyz(8.0476, 4.4440, 16.6502)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1D73 #33731D
analogous
#321D73 #5D1D73 #731D5E
triadic
#5D1D73 #735D1D #1D735D
tetradic
#5D1D73 #73321D #33731D #1D5E73
square
#5D1D73 #73321D #33731D #1D5E73
split-complementary
#5D1D73 #5E731D #1D7332
monochromatic
#140618 #351142 #5D1D73 #8529A4 #A93CCE

Accessibility & contrast

On white

11.12
#5D1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5D1D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1D73
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1D73#FFFFFF#000000##FFFFFF
##5D1D731.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#1C3D71
Tritanopia (blue-blind)
#5C2F46
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5d1d73;
/* rgb */ color: rgb(93, 29, 115);
/* oklch */ color: oklch(37.3% 0.146 316.0);
Tailwind
colors: {
  custom: {
    50: '#8e609c',
    500: '#5d1d73',
    950: '#000000',
  },
}
SCSS
$custom: #5d1d73;
$custom-light: #8e609c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1d73",
  "rgb": {
    "r": 93,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 284.651,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37293,
    "c": 0.14617,
    "h": 316
  },
  "luminance": 0.04444
}

Semantic roles & 50–950 ramp

primary
#5D1D73
secondary
#5EA745
accent
#E3456D
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5D1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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