#5D1464#5D1464

#5D1464 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.143 H 324.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#5D1464
RGBrgb(93, 20, 100)
HSLhsl(295, 67%, 24%)
HSVhsv(295, 80%, 39%)
CMYKcmyk(7%, 80%, 0%, 60.8%)
CIE-LABlab(22.82, 42.90, -30.03)
CIE-LCHlch(22.82, 52.36, 325.01°)
OKLaboklab(35.35% 0.1158 -0.0838)
OKLCHoklch(35.35% 0.143 324.1)
XYZxyz(7.0644, 3.7480, 12.4055)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1464 #1B6414
analogous
#351464 #5D1464 #641443
triadic
#5D1464 #645D14 #14645D
tetradic
#5D1464 #643514 #1B6414 #144364
square
#5D1464 #643514 #1B6414 #144364
split-complementary
#5D1464 #436414 #146435
monochromatic
#18051A #2E0A31 #5D1464 #8C1E97 #BC28CA

Accessibility & contrast

On white

12.00
#5D1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5D1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1464
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1464#FFFFFF#000000##FFFFFF
##5D14641.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#233962
Tritanopia (blue-blind)
#5F233B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d1464;
/* rgb */ color: rgb(93, 20, 100);
/* oklch */ color: oklch(35.3% 0.143 324.1);
Tailwind
colors: {
  custom: {
    50: '#8e5b90',
    500: '#5d1464',
    950: '#000000',
  },
}
SCSS
$custom: #5d1464;
$custom-light: #8e5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1464",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 294.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35349,
    "c": 0.14288,
    "h": 324.1
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#5D1464
secondary
#419B38
accent
#EA3E4D
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D1464

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

Preview Lab → · Contrast checker → · Palette generator →

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