#5D366B#5D366B

#5D366B is a dark, moderate purple. Relative luminance 0.060; OKLCH L 40.3% C 0.097 H 316.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5D366B
RGBrgb(93, 54, 107)
HSLhsl(284, 33%, 32%)
HSVhsv(284, 50%, 42%)
CMYKcmyk(13.1%, 49.5%, 0%, 58%)
CIE-LABlab(29.48, 27.44, -24.01)
CIE-LCHlch(29.48, 36.46, 318.82°)
OKLaboklab(40.34% 0.0704 -0.0665)
OKLCHoklch(40.34% 0.097 316.6)
XYZxyz(8.4868, 6.0273, 14.6234)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D366B #446B36
analogous
#43366B #5D366B #6B365F
triadic
#5D366B #6B5D36 #366B5D
tetradic
#5D366B #6B4336 #446B36 #365F6B
square
#5D366B #6B4336 #446B36 #365F6B
split-complementary
#5D366B #5F6B36 #366B43
monochromatic
#160D1A #3A2142 #5D366B #804B94 #9F68B3

Accessibility & contrast

On white

9.52
#5D366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5D366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D366B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D366B#FFFFFF#000000##FFFFFF
##5D366B1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436D
Deuteranopia (green-blind)
#37476A
Tritanopia (blue-blind)
#5D3E4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d366b;
/* rgb */ color: rgb(93, 54, 107);
/* oklch */ color: oklch(40.3% 0.097 316.6);
Tailwind
colors: {
  custom: {
    50: '#8c6e95',
    500: '#5d366b',
    950: '#000000',
  },
}
SCSS
$custom: #5d366b;
$custom-light: #8c6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#5d366b",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 284.151,
    "s": 32.919,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.09686,
    "h": 316.6
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#5D366B
secondary
#719C61
accent
#C95F7B
background
#F8F6F9
surface
#F0ECF1
border
#CBC7CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5D366B

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

Preview Lab → · Contrast checker → · Palette generator →

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