#5F596F#5F596F

#5F596F is a mid, muted violet. Relative luminance 0.107; OKLCH L 47.8% C 0.036 H 297.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5F596F
RGBrgb(95, 89, 111)
HSLhsl(256, 11%, 39%)
HSVhsv(256, 20%, 44%)
CMYKcmyk(14.4%, 19.8%, 0%, 56.5%)
CIE-LABlab(39.11, 7.28, -11.64)
CIE-LCHlch(39.11, 13.73, 302.02°)
OKLaboklab(47.79% 0.0165 -0.0316)
OKLCHoklch(47.79% 0.036 297.5)
XYZxyz(11.1603, 10.7253, 16.5181)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F596F #696F59
analogous
#595E6F #5F596F #6A596F
triadic
#5F596F #6F5F59 #596F5F
tetradic
#5F596F #6F595E #696F59 #596F6A
square
#5F596F #6F595E #696F59 #596F6A
split-complementary
#5F596F #6F6A59 #5E6F59
monochromatic
#25232B #423E4D #5F596F #7C7590 #9D97AC

Accessibility & contrast

On white

6.68
#5F596F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5F596F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F596F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F596F#FFFFFF#000000##FFFFFF
##5F596F1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555C70
Deuteranopia (green-blind)
#555C6E
Tritanopia (blue-blind)
#5C5C60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5f596f;
/* rgb */ color: rgb(95, 89, 111);
/* oklch */ color: oklch(47.8% 0.036 297.5);
Tailwind
colors: {
  custom: {
    50: '#8c8798',
    500: '#5f596f',
    950: '#000000',
  },
}
SCSS
$custom: #5f596f;
$custom-light: #8c8798;
$custom-dark: #000000;
JSON
{
  "hex": "#5f596f",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 111
  },
  "hsl": {
    "h": 256.364,
    "s": 11,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47788,
    "c": 0.03567,
    "h": 297.5
  },
  "luminance": 0.10725
}

Semantic roles & 50–950 ramp

primary
#5F596F
secondary
#969A8A
accent
#B474A2
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0D
muted
#7D7C7E

Preview Lab

Preview with #5F596F

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

Preview Lab → · Contrast checker → · Palette generator →

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