#5B375D#5B375D

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

Color values

HEX#5B375D
RGBrgb(91, 55, 93)
HSLhsl(297, 26%, 29%)
HSVhsv(297, 41%, 36%)
CMYKcmyk(2.2%, 40.9%, 0%, 63.5%)
CIE-LABlab(28.77, 22.98, -16.14)
CIE-LCHlch(28.77, 28.08, 324.93°)
OKLaboklab(39.52% 0.063 -0.044)
OKLCHoklch(39.52% 0.077 325.1)
XYZxyz(7.6562, 5.7471, 11.0598)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B375D #395D37
analogous
#48375D #5B375D #5D374C
triadic
#5B375D #5D5B37 #375D5B
tetradic
#5B375D #5D4837 #395D37 #374C5D
square
#5B375D #5D4837 #395D37 #374C5D
split-complementary
#5B375D #4C5D37 #375D48
monochromatic
#130B13 #352037 #5B375D #814E83 #A368A6

Accessibility & contrast

On white

9.77
#5B375D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5B375D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B375D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B375D#FFFFFF#000000##FFFFFF
##5B375D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415E
Deuteranopia (green-blind)
#3D455C
Tritanopia (blue-blind)
#5D3B45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5b375d;
/* rgb */ color: rgb(91, 55, 93);
/* oklch */ color: oklch(39.5% 0.077 325.1);
Tailwind
colors: {
  custom: {
    50: '#8a6f8b',
    500: '#5b375d',
    950: '#000000',
  },
}
SCSS
$custom: #5b375d;
$custom-light: #8a6f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b375d",
  "rgb": {
    "r": 91,
    "g": 55,
    "b": 93
  },
  "hsl": {
    "h": 296.842,
    "s": 25.676,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39517,
    "c": 0.07687,
    "h": 325.1
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#5B375D
secondary
#658D62
accent
#C2666B
background
#F8F6F8
surface
#F0ECF0
border
#CBC7CB
text
#0C070C
muted
#7D7A7D

Preview Lab

Preview with #5B375D

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

Preview Lab → · Contrast checker → · Palette generator →

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