#5D1366#5D1366

#5D1366 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.146 H 323.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#5D1366
RGBrgb(93, 19, 102)
HSLhsl(293, 69%, 24%)
HSVhsv(293, 81%, 40%)
CMYKcmyk(8.8%, 81.4%, 0%, 60%)
CIE-LABlab(22.84, 43.62, -31.31)
CIE-LCHlch(22.84, 53.70, 324.33°)
OKLaboklab(35.4% 0.1165 -0.0875)
OKLCHoklch(35.4% 0.146 323.1)
XYZxyz(7.1451, 3.7526, 12.9158)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1366 #1C6613
analogous
#331366 #5D1366 #661345
triadic
#5D1366 #665D13 #13665D
tetradic
#5D1366 #663313 #1C6613 #134566
square
#5D1366 #663313 #1C6613 #134566
split-complementary
#5D1366 #456613 #136633
monochromatic
#18051A #2E0932 #5D1366 #8C1D9A #BB26CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D1366#FFFFFF#000000##FFFFFF
##5D13661.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)
#003168
Deuteranopia (green-blind)
#213964
Tritanopia (blue-blind)
#5E233C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d1366;
/* rgb */ color: rgb(93, 19, 102);
/* oklch */ color: oklch(35.4% 0.146 323.1);
Tailwind
colors: {
  custom: {
    50: '#8e5b92',
    500: '#5d1366',
    950: '#000000',
  },
}
SCSS
$custom: #5d1366;
$custom-light: #8e5b92;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1366",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 293.494,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35403,
    "c": 0.14572,
    "h": 323.1
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#5D1366
secondary
#429D37
accent
#EB3C4F
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5D1366

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

Preview Lab → · Contrast checker → · Palette generator →

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