#5A4E65#5A4E65

#5A4E65 is a dark, muted violet. Relative luminance 0.086; OKLCH L 44.5% C 0.040 H 308.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5A4E65
RGBrgb(90, 78, 101)
HSLhsl(271, 13%, 35%)
HSVhsv(271, 23%, 40%)
CMYKcmyk(10.9%, 22.8%, 0%, 60.4%)
CIE-LABlab(35.13, 9.94, -11.51)
CIE-LCHlch(35.13, 15.21, 310.80°)
OKLaboklab(44.46% 0.0248 -0.0312)
OKLCHoklch(44.46% 0.04 308.4)
XYZxyz(9.2894, 8.5621, 13.4727)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E65 #59654E
analogous
#4E4E65 #5A4E65 #654E64
triadic
#5A4E65 #655A4E #4E655A
tetradic
#5A4E65 #654E4E #59654E #4E6465
square
#5A4E65 #654E4E #59654E #4E6465
split-complementary
#5A4E65 #64654E #4E654E
monochromatic
#1C1920 #3B3342 #5A4E65 #796988 #9789A4

Accessibility & contrast

On white

7.74
#5A4E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5A4E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E65
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E65#FFFFFF#000000##FFFFFF
##5A4E651.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5266
Deuteranopia (green-blind)
#4D5364
Tritanopia (blue-blind)
#595156
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a4e65;
/* rgb */ color: rgb(90, 78, 101);
/* oklch */ color: oklch(44.5% 0.040 308.4);
Tailwind
colors: {
  custom: {
    50: '#887f91',
    500: '#5a4e65',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e65;
$custom-light: #887f91;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e65",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 101
  },
  "hsl": {
    "h": 271.304,
    "s": 12.849,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44457,
    "c": 0.03986,
    "h": 308.4
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#5A4E65
secondary
#87927D
accent
#B67292
background
#F8F7F8
surface
#F0EEF0
border
#CBC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #5A4E65

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

Preview Lab → · Contrast checker → · Palette generator →

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