#5D596B#5D596B

#5D596B is a mid, muted violet. Relative luminance 0.105; OKLCH L 47.4% C 0.029 H 295.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5D596B
RGBrgb(93, 89, 107)
HSLhsl(253, 9%, 38%)
HSVhsv(253, 17%, 42%)
CMYKcmyk(13.1%, 16.8%, 0%, 58%)
CIE-LABlab(38.78, 5.59, -9.69)
CIE-LCHlch(38.78, 11.19, 299.98°)
OKLaboklab(47.44% 0.0125 -0.0262)
OKLCHoklch(47.44% 0.029 295.5)
XYZxyz(10.7399, 10.5334, 15.3744)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D596B #676B59
analogous
#595E6B #5D596B #66596B
triadic
#5D596B #6B5D59 #596B5D
tetradic
#5D596B #6B595E #676B59 #596B66
square
#5D596B #6B595E #676B59 #596B66
split-complementary
#5D596B #6B6659 #5E6B59
monochromatic
#232128 #403D4A #5D596B #7A758C #9A96A8

Accessibility & contrast

On white

6.76
#5D596B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5D596B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D596B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D596B#FFFFFF#000000##FFFFFF
##5D596B1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555B6C
Deuteranopia (green-blind)
#565B6A
Tritanopia (blue-blind)
#5B5C5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d596b;
/* rgb */ color: rgb(93, 89, 107);
/* oklch */ color: oklch(47.4% 0.029 295.5);
Tailwind
colors: {
  custom: {
    50: '#8b8795',
    500: '#5d596b',
    950: '#000000',
  },
}
SCSS
$custom: #5d596b;
$custom-light: #8b8795;
$custom-dark: #000000;
JSON
{
  "hex": "#5d596b",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 107
  },
  "hsl": {
    "h": 253.333,
    "s": 9.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47437,
    "c": 0.02906,
    "h": 295.5
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#5D596B
secondary
#949789
accent
#B276A5
background
#F8F8F9
surface
#F0EFF1
border
#CBCACB
text
#0C0B0D
muted
#7D7C7E

Preview Lab

Preview with #5D596B

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

Preview Lab → · Contrast checker → · Palette generator →

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