#5F596E#5F596E

#5F596E is a mid, muted violet. Relative luminance 0.107; OKLCH L 47.7% C 0.034 H 298.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5F596E
RGBrgb(95, 89, 110)
HSLhsl(257, 11%, 39%)
HSVhsv(257, 19%, 43%)
CMYKcmyk(13.6%, 19.1%, 0%, 56.9%)
CIE-LABlab(39.08, 7.04, -11.08)
CIE-LCHlch(39.08, 13.13, 302.43°)
OKLaboklab(47.75% 0.0161 -0.0301)
OKLCHoklch(47.75% 0.034 298.2)
XYZxyz(11.1056, 10.7034, 16.2297)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F596E #686E59
analogous
#595E6E #5F596E #6A596E
triadic
#5F596E #6E5F59 #596E5F
tetradic
#5F596E #6E595E #686E59 #596E6A
square
#5F596E #6E595E #686E59 #596E6A
split-complementary
#5F596E #6E6A59 #5E6E59
monochromatic
#25222A #423E4C #5F596E #7C758F #9C97AB

Accessibility & contrast

On white

6.69
#5F596E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5F596E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F596E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F596E#FFFFFF#000000##FFFFFF
##5F596E1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555C6F
Deuteranopia (green-blind)
#565C6D
Tritanopia (blue-blind)
#5C5C60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5f596e;
/* rgb */ color: rgb(95, 89, 110);
/* oklch */ color: oklch(47.7% 0.034 298.2);
Tailwind
colors: {
  custom: {
    50: '#8c8797',
    500: '#5f596e',
    950: '#000000',
  },
}
SCSS
$custom: #5f596e;
$custom-light: #8c8797;
$custom-dark: #000000;
JSON
{
  "hex": "#5f596e",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 110
  },
  "hsl": {
    "h": 257.143,
    "s": 10.553,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47746,
    "c": 0.03411,
    "h": 298.2
  },
  "luminance": 0.10703
}

Semantic roles & 50–950 ramp

primary
#5F596E
secondary
#959989
accent
#B374A1
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0D
muted
#7D7C7E

Preview Lab

Preview with #5F596E

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

Preview Lab → · Contrast checker → · Palette generator →

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