#5A4E5A#5A4E5A

#5A4E5A is a dark, muted grey. Relative luminance 0.084; OKLCH L 44.0% C 0.025 H 326.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5A4E5A
RGBrgb(90, 78, 90)
HSLhsl(300, 7%, 33%)
HSVhsv(300, 13%, 35%)
CMYKcmyk(0%, 13.3%, 0%, 64.7%)
CIE-LABlab(34.72, 7.44, -5.19)
CIE-LCHlch(34.72, 9.07, 325.12°)
OKLaboklab(44.01% 0.0205 -0.0138)
OKLCHoklch(44.01% 0.025 326)
XYZxyz(8.7861, 8.3607, 10.8218)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E5A #4E5A4E
analogous
#544E5A #5A4E5A #5A4E54
triadic
#5A4E5A #5A5A4E #4E5A5A
tetradic
#5A4E5A #5A544E #4E5A4E #4E545A
square
#5A4E5A #5A544E #4E5A4E #4E545A
split-complementary
#5A4E5A #545A4E #4E5A54
monochromatic
#181518 #393239 #5A4E5A #7B6A7B #998999

Accessibility & contrast

On white

7.86
#5A4E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5A4E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E5A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E5A#FFFFFF#000000##FFFFFF
##5A4E5A1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515B
Deuteranopia (green-blind)
#50525A
Tritanopia (blue-blind)
#5B4F52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5a4e5a;
/* rgb */ color: rgb(90, 78, 90);
/* oklch */ color: oklch(44.0% 0.025 326.0);
Tailwind
colors: {
  custom: {
    50: '#887f88',
    500: '#5a4e5a',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e5a;
$custom-light: #887f88;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e5a",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 90
  },
  "hsl": {
    "h": 300,
    "s": 7.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44011,
    "c": 0.02472,
    "h": 326
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#5A4E5A
secondary
#7C887C
accent
#B07878
background
#F8F7F8
surface
#EFEEEF
border
#CAC9CA
text
#0B0A0B
muted
#7C7C7C

Preview Lab

Preview with #5A4E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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