#5D366A#5D366A

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

Color values

HEX#5D366A
RGBrgb(93, 54, 106)
HSLhsl(285, 33%, 31%)
HSVhsv(285, 49%, 42%)
CMYKcmyk(12.3%, 49.1%, 0%, 58.4%)
CIE-LABlab(29.43, 27.21, -23.45)
CIE-LCHlch(29.43, 35.92, 319.24°)
OKLaboklab(40.28% 0.0702 -0.0649)
OKLCHoklch(40.28% 0.096 317.2)
XYZxyz(8.4345, 6.0064, 14.3479)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D366A #436A36
analogous
#43366A #5D366A #6A365D
triadic
#5D366A #6A5D36 #366A5D
tetradic
#5D366A #6A4336 #436A36 #365D6A
square
#5D366A #6A4336 #436A36 #365D6A
split-complementary
#5D366A #5D6A36 #366A43
monochromatic
#160D19 #392141 #5D366A #814B93 #A068B2

Accessibility & contrast

On white

9.54
#5D366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5D366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D366A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D366A#FFFFFF#000000##FFFFFF
##5D366A1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436C
Deuteranopia (green-blind)
#384769
Tritanopia (blue-blind)
#5D3D4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d366a;
/* rgb */ color: rgb(93, 54, 106);
/* oklch */ color: oklch(40.3% 0.096 317.2);
Tailwind
colors: {
  custom: {
    50: '#8c6e95',
    500: '#5d366a',
    950: '#000000',
  },
}
SCSS
$custom: #5d366a;
$custom-light: #8c6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#5d366a",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 285,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.09563,
    "h": 317.2
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#5D366A
secondary
#709B61
accent
#C95F7A
background
#F8F6F9
surface
#F0ECF1
border
#CBC7CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5D366A

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

Preview Lab → · Contrast checker → · Palette generator →

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