#5F596C#5F596C

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

Color values

HEX#5F596C
RGBrgb(95, 89, 108)
HSLhsl(259, 10%, 39%)
HSVhsv(259, 18%, 42%)
CMYKcmyk(12%, 17.6%, 0%, 57.6%)
CIE-LABlab(39.00, 6.57, -9.96)
CIE-LCHlch(39.00, 11.93, 303.40°)
OKLaboklab(47.66% 0.0154 -0.027)
OKLCHoklch(47.66% 0.031 299.7)
XYZxyz(10.9979, 10.6603, 15.6627)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F596C #666C59
analogous
#595C6C #5F596C #68596C
triadic
#5F596C #6C5F59 #596C5F
tetradic
#5F596C #6C595C #666C59 #596C68
square
#5F596C #6C595C #666C59 #596C68
split-complementary
#5F596C #6C6859 #5C6C59
monochromatic
#242229 #413D4A #5F596C #7D758D #9C97A9

Accessibility & contrast

On white

6.70
#5F596C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5F596C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F596C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F596C#FFFFFF#000000##FFFFFF
##5F596C1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f596c;
/* rgb */ color: rgb(95, 89, 108);
/* oklch */ color: oklch(47.7% 0.031 299.7);
Tailwind
colors: {
  custom: {
    50: '#8c8796',
    500: '#5f596c',
    950: '#000000',
  },
}
SCSS
$custom: #5f596c;
$custom-light: #8c8796;
$custom-dark: #000000;
JSON
{
  "hex": "#5f596c",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 108
  },
  "hsl": {
    "h": 258.947,
    "s": 9.645,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47664,
    "c": 0.03102,
    "h": 299.7
  },
  "luminance": 0.1066
}

Semantic roles & 50–950 ramp

primary
#5F596C
secondary
#939889
accent
#B3759F
background
#F8F8F9
surface
#F0EFF1
border
#CBCACB
text
#0C0B0D
muted
#7D7C7E

Preview Lab

Preview with #5F596C

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

Preview Lab → · Contrast checker → · Palette generator →

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