#595166#595166

#595166 is a mid, muted violet. Relative luminance 0.090; OKLCH L 45.1% C 0.035 H 302.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#595166
RGBrgb(89, 81, 102)
HSLhsl(263, 11%, 36%)
HSVhsv(263, 21%, 40%)
CMYKcmyk(12.7%, 20.6%, 0%, 60%)
CIE-LABlab(35.92, 7.91, -10.94)
CIE-LCHlch(35.92, 13.50, 305.87°)
OKLaboklab(45.06% 0.0188 -0.0297)
OKLCHoklch(45.06% 0.035 302.4)
XYZxyz(9.4601, 8.9680, 13.8004)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595166 #5E6651
analogous
#515366 #595166 #635166
triadic
#595166 #665951 #516659
tetradic
#595166 #665153 #5E6651 #516663
square
#595166 #665153 #5E6651 #516663
split-complementary
#595166 #666351 #536651
monochromatic
#1D1B22 #3B3644 #595166 #776C88 #968DA4

Accessibility & contrast

On white

7.52
#595166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#595166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595166
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595166#FFFFFF#000000##FFFFFF
##5951661.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5467
Deuteranopia (green-blind)
#4F5465
Tritanopia (blue-blind)
#575458
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #595166;
/* rgb */ color: rgb(89, 81, 102);
/* oklch */ color: oklch(45.1% 0.035 302.4);
Tailwind
colors: {
  custom: {
    50: '#888191',
    500: '#595166',
    950: '#000000',
  },
}
SCSS
$custom: #595166;
$custom-light: #888191;
$custom-dark: #000000;
JSON
{
  "hex": "#595166",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 262.857,
    "s": 11.475,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.03516,
    "h": 302.4
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#595166
secondary
#8C9380
accent
#B4739C
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #595166

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

Preview Lab → · Contrast checker → · Palette generator →

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