#595161#595161

#595161 is a dark, muted violet. Relative luminance 0.089; OKLCH L 44.9% C 0.028 H 307.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#595161
RGBrgb(89, 81, 97)
HSLhsl(270, 9%, 35%)
HSVhsv(270, 16%, 38%)
CMYKcmyk(8.2%, 16.5%, 0%, 62%)
CIE-LABlab(35.74, 6.73, -8.09)
CIE-LCHlch(35.74, 10.53, 309.77°)
OKLaboklab(44.86% 0.0169 -0.0218)
OKLCHoklch(44.86% 0.028 307.8)
XYZxyz(9.2195, 8.8718, 12.5337)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595161 #596151
analogous
#515161 #595161 #615161
triadic
#595161 #615951 #516159
tetradic
#595161 #615151 #596151 #516161
square
#595161 #615151 #596151 #516161
split-complementary
#595161 #616151 #516151
monochromatic
#1C191E #3A3540 #595161 #786D82 #968DA0

Accessibility & contrast

On white

7.57
#595161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#595161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595161
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595161#FFFFFF#000000##FFFFFF
##5951611.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5462
Deuteranopia (green-blind)
#505460
Tritanopia (blue-blind)
#585356
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #595161;
/* rgb */ color: rgb(89, 81, 97);
/* oklch */ color: oklch(44.9% 0.028 307.8);
Tailwind
colors: {
  custom: {
    50: '#88818d',
    500: '#595161',
    950: '#000000',
  },
}
SCSS
$custom: #595161;
$custom-light: #88818d;
$custom-dark: #000000;
JSON
{
  "hex": "#595161",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 97
  },
  "hsl": {
    "h": 270,
    "s": 8.989,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44856,
    "c": 0.02758,
    "h": 307.8
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#595161
secondary
#878E7F
accent
#B27694
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #595161

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

Preview Lab → · Contrast checker → · Palette generator →

#595161 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva