#5D1973#5D1973

#5D1973 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.151 H 316.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#5D1973
RGBrgb(93, 25, 115)
HSLhsl(285, 64%, 27%)
HSVhsv(285, 78%, 45%)
CMYKcmyk(19.1%, 78.3%, 0%, 54.9%)
CIE-LABlab(24.51, 44.09, -37.03)
CIE-LCHlch(24.51, 57.58, 319.97°)
OKLaboklab(36.89% 0.1092 -0.1043)
OKLCHoklch(36.89% 0.151 316.3)
XYZxyz(7.9559, 4.2605, 16.6196)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1973 #2F7319
analogous
#301973 #5D1973 #73195C
triadic
#5D1973 #735D19 #19735D
tetradic
#5D1973 #733019 #2F7319 #195C73
square
#5D1973 #733019 #2F7319 #195C73
split-complementary
#5D1973 #5C7319 #197330
monochromatic
#140519 #340E41 #5D1973 #8624A5 #AC34D3

Accessibility & contrast

On white

11.34
#5D1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5D1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1973
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1973#FFFFFF#000000##FFFFFF
##5D19731.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#193C71
Tritanopia (blue-blind)
#5C2D45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5d1973;
/* rgb */ color: rgb(93, 25, 115);
/* oklch */ color: oklch(36.9% 0.151 316.3);
Tailwind
colors: {
  custom: {
    50: '#8e5e9c',
    500: '#5d1973',
    950: '#000000',
  },
}
SCSS
$custom: #5d1973;
$custom-light: #8e5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1973",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 285.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36886,
    "c": 0.15104,
    "h": 316.3
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#5D1973
secondary
#59A840
accent
#E74169
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5D1973

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

Preview Lab → · Contrast checker → · Palette generator →

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