#5B375A#5B375A

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

Color values

HEX#5B375A
RGBrgb(91, 55, 90)
HSLhsl(302, 25%, 29%)
HSVhsv(302, 40%, 36%)
CMYKcmyk(0%, 39.6%, 1.1%, 64.3%)
CIE-LABlab(28.63, 22.34, -14.40)
CIE-LCHlch(28.63, 26.58, 327.19°)
OKLaboklab(39.37% 0.0622 -0.0391)
OKLCHoklch(39.37% 0.073 327.8)
XYZxyz(7.5259, 5.6950, 10.3737)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B375A #375B38
analogous
#4A375B #5B375A #5B3748
triadic
#5B375A #5A5B37 #375A5B
tetradic
#5B375A #5B4A37 #375B38 #37485B
square
#5B375A #5B4A37 #375B38 #37485B
split-complementary
#5B375A #485B37 #375B4A
monochromatic
#130C13 #352034 #5B375A #814E80 #A468A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B375A#FFFFFF#000000##FFFFFF
##5B375A1.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)
#35415B
Deuteranopia (green-blind)
#3E4559
Tritanopia (blue-blind)
#5D3A44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5b375a;
/* rgb */ color: rgb(91, 55, 90);
/* oklch */ color: oklch(39.4% 0.073 327.8);
Tailwind
colors: {
  custom: {
    50: '#8a6e88',
    500: '#5b375a',
    950: '#000000',
  },
}
SCSS
$custom: #5b375a;
$custom-light: #8a6e88;
$custom-dark: #000000;
JSON
{
  "hex": "#5b375a",
  "rgb": {
    "r": 91,
    "g": 55,
    "b": 90
  },
  "hsl": {
    "h": 301.667,
    "s": 24.658,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39371,
    "c": 0.07346,
    "h": 327.8
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#5B375A
secondary
#628B64
accent
#C16967
background
#F8F6F8
surface
#F0ECF0
border
#CBC7CB
text
#0C070B
muted
#7D7A7C

Preview Lab

Preview with #5B375A

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

Preview Lab → · Contrast checker → · Palette generator →

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