#5D1964#5D1964

#5D1964 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.137 H 323.9°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#5D1964
RGBrgb(93, 25, 100)
HSLhsl(294, 60%, 25%)
HSVhsv(294, 75%, 39%)
CMYKcmyk(7%, 75%, 0%, 60.8%)
CIE-LABlab(23.48, 41.01, -28.97)
CIE-LCHlch(23.48, 50.21, 324.76°)
OKLaboklab(35.82% 0.1106 -0.0807)
OKLCHoklch(35.82% 0.137 323.9)
XYZxyz(7.1619, 3.9430, 12.4380)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1964 #206419
analogous
#381964 #5D1964 #641946
triadic
#5D1964 #645D19 #19645D
tetradic
#5D1964 #643819 #206419 #194664
square
#5D1964 #643819 #206419 #194664
split-complementary
#5D1964 #466419 #196438
monochromatic
#170618 #2F0D33 #5D1964 #8B2595 #B831C6

Accessibility & contrast

On white

11.74
#5D1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5D1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1964
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1964#FFFFFF#000000##FFFFFF
##5D19641.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033366
Deuteranopia (green-blind)
#263B62
Tritanopia (blue-blind)
#5F263D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1964;
/* rgb */ color: rgb(93, 25, 100);
/* oklch */ color: oklch(35.8% 0.137 323.9);
Tailwind
colors: {
  custom: {
    50: '#8e5d90',
    500: '#5d1964',
    950: '#000000',
  },
}
SCSS
$custom: #5d1964;
$custom-light: #8e5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1964",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 294.4,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35821,
    "c": 0.13689,
    "h": 323.9
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#5D1964
secondary
#479A3F
accent
#E34553
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D050C
muted
#7D797D

Preview Lab

Preview with #5D1964

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

Preview Lab → · Contrast checker → · Palette generator →

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