#5B3564#5B3564

#5B3564 is a dark, moderate purple. Relative luminance 0.057; OKLCH L 39.5% C 0.089 H 319.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#5B3564
RGBrgb(91, 53, 100)
HSLhsl(289, 31%, 30%)
HSVhsv(289, 47%, 39%)
CMYKcmyk(9%, 47%, 0%, 60.8%)
CIE-LABlab(28.62, 25.77, -20.89)
CIE-LCHlch(28.62, 33.17, 320.98°)
OKLaboklab(39.52% 0.068 -0.0576)
OKLCHoklch(39.52% 0.089 319.7)
XYZxyz(7.8874, 5.6907, 12.7371)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3564 #3E6435
analogous
#443564 #5B3564 #643555
triadic
#5B3564 #645B35 #35645B
tetradic
#5B3564 #644435 #3E6435 #355564
square
#5B3564 #644435 #3E6435 #355564
split-complementary
#5B3564 #556435 #356444
monochromatic
#120B14 #37203C #5B3564 #7F4A8C #A066AE

Accessibility & contrast

On white

9.82
#5B3564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5B3564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3564
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3564#FFFFFF#000000##FFFFFF
##5B35641.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4166
Deuteranopia (green-blind)
#384563
Tritanopia (blue-blind)
#5C3B47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5b3564;
/* rgb */ color: rgb(91, 53, 100);
/* oklch */ color: oklch(39.5% 0.089 319.7);
Tailwind
colors: {
  custom: {
    50: '#8a6d90',
    500: '#5b3564',
    950: '#000000',
  },
}
SCSS
$custom: #5b3564;
$custom-light: #8a6d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3564",
  "rgb": {
    "r": 91,
    "g": 53,
    "b": 100
  },
  "hsl": {
    "h": 288.511,
    "s": 30.719,
    "l": 30
  },
  "oklch": {
    "l": 0.39518,
    "c": 0.08911,
    "h": 319.7
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#5B3564
secondary
#6A9560
accent
#C76174
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C070C
muted
#7D7A7D

Preview Lab

Preview with #5B3564

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

Preview Lab → · Contrast checker → · Palette generator →

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