#5D366F#5D366F

#5D366F is a dark, moderate purple. Relative luminance 0.061; OKLCH L 40.6% C 0.102 H 314.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#5D366F
RGBrgb(93, 54, 111)
HSLhsl(281, 35%, 32%)
HSVhsv(281, 51%, 44%)
CMYKcmyk(16.2%, 51.4%, 0%, 56.5%)
CIE-LABlab(29.70, 28.39, -26.22)
CIE-LCHlch(29.70, 38.64, 317.27°)
OKLaboklab(40.57% 0.071 -0.0729)
OKLCHoklch(40.57% 0.102 314.2)
XYZxyz(8.7021, 6.1134, 15.7574)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D366F #486F36
analogous
#41366F #5D366F #6F3664
triadic
#5D366F #6F5D36 #366F5D
tetradic
#5D366F #6F4136 #486F36 #36646F
square
#5D366F #6F4136 #486F36 #36646F
split-complementary
#5D366F #646F36 #366F41
monochromatic
#180E1D #3B2246 #5D366F #7F4A98 #9E69B6

Accessibility & contrast

On white

9.45
#5D366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5D366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D366F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D366F#FFFFFF#000000##FFFFFF
##5D366F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4471
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#5C3F4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d366f;
/* rgb */ color: rgb(93, 54, 111);
/* oklch */ color: oklch(40.6% 0.102 314.2);
Tailwind
colors: {
  custom: {
    50: '#8c6e98',
    500: '#5d366f',
    950: '#000000',
  },
}
SCSS
$custom: #5d366f;
$custom-light: #8c6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#5d366f",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 281.053,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40569,
    "c": 0.10178,
    "h": 314.2
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#5D366F
secondary
#759F62
accent
#CB5D80
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #5D366F

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

Preview Lab → · Contrast checker → · Palette generator →

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