#595162#595162

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

Color values

HEX#595162
RGBrgb(89, 81, 98)
HSLhsl(268, 9%, 35%)
HSVhsv(268, 17%, 38%)
CMYKcmyk(9.2%, 17.3%, 0%, 61.6%)
CIE-LABlab(35.77, 6.97, -8.66)
CIE-LCHlch(35.77, 11.12, 308.80°)
OKLaboklab(44.9% 0.0173 -0.0234)
OKLCHoklch(44.9% 0.029 306.5)
XYZxyz(9.2665, 8.8906, 12.7808)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595162 #5A6251
analogous
#515262 #595162 #615162
triadic
#595162 #625951 #516259
tetradic
#595162 #625152 #5A6251 #516261
square
#595162 #625152 #5A6251 #516261
split-complementary
#595162 #626151 #526251
monochromatic
#1C1A1F #3B3540 #595162 #776D84 #968DA1

Accessibility & contrast

On white

7.56
#595162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#595162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595162
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595162#FFFFFF#000000##FFFFFF
##5951621.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5463
Deuteranopia (green-blind)
#505461
Tritanopia (blue-blind)
#585357
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #595162;
/* rgb */ color: rgb(89, 81, 98);
/* oklch */ color: oklch(44.9% 0.029 306.5);
Tailwind
colors: {
  custom: {
    50: '#88818e',
    500: '#595162',
    950: '#000000',
  },
}
SCSS
$custom: #595162;
$custom-light: #88818e;
$custom-dark: #000000;
JSON
{
  "hex": "#595162",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 268.235,
    "s": 9.497,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44896,
    "c": 0.02908,
    "h": 306.5
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

primary
#595162
secondary
#888F7F
accent
#B27596
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #595162

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

Preview Lab → · Contrast checker → · Palette generator →

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