#5D3868#5D3868

#5D3868 is a dark, moderate purple. Relative luminance 0.062; OKLCH L 40.5% C 0.089 H 318.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#5D3868
RGBrgb(93, 56, 104)
HSLhsl(286, 30%, 31%)
HSVhsv(286, 46%, 41%)
CMYKcmyk(10.6%, 46.2%, 0%, 59.2%)
CIE-LABlab(29.80, 25.53, -21.59)
CIE-LCHlch(29.80, 33.44, 319.79°)
OKLaboklab(40.53% 0.0666 -0.0596)
OKLCHoklch(40.53% 0.089 318.2)
XYZxyz(8.4267, 6.1552, 13.8382)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3868 #436838
analogous
#453868 #5D3868 #68385B
triadic
#5D3868 #685D38 #38685D
tetradic
#5D3868 #684538 #436838 #385B68
square
#5D3868 #684538 #436838 #385B68
split-complementary
#5D3868 #5B6838 #386845
monochromatic
#160D18 #392340 #5D3868 #814D90 #A06BAF

Accessibility & contrast

On white

9.41
#5D3868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5D3868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3868
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3868#FFFFFF#000000##FFFFFF
##5D38681.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30446A
Deuteranopia (green-blind)
#3A4767
Tritanopia (blue-blind)
#5D3E4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d3868;
/* rgb */ color: rgb(93, 56, 104);
/* oklch */ color: oklch(40.5% 0.089 318.2);
Tailwind
colors: {
  custom: {
    50: '#8c6f93',
    500: '#5d3868',
    950: '#000000',
  },
}
SCSS
$custom: #5d3868;
$custom-light: #8c6f93;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3868",
  "rgb": {
    "r": 93,
    "g": 56,
    "b": 104
  },
  "hsl": {
    "h": 286.25,
    "s": 30,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40526,
    "c": 0.08936,
    "h": 318.2
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

primary
#5D3868
secondary
#709863
accent
#C66279
background
#F8F6F9
surface
#F0ECF1
border
#CBC7CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5D3868

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

Preview Lab → · Contrast checker → · Palette generator →

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