#5A4E68#5A4E68

#5A4E68 is a dark, muted violet. Relative luminance 0.086; OKLCH L 44.6% C 0.044 H 305.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5A4E68
RGBrgb(90, 78, 104)
HSLhsl(268, 14%, 36%)
HSVhsv(268, 25%, 41%)
CMYKcmyk(13.5%, 25%, 0%, 59.2%)
CIE-LABlab(35.25, 10.66, -13.21)
CIE-LCHlch(35.25, 16.98, 308.89°)
OKLaboklab(44.59% 0.0258 -0.036)
OKLCHoklch(44.59% 0.044 305.7)
XYZxyz(9.4391, 8.6219, 14.2610)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E68 #5C684E
analogous
#4E4F68 #5A4E68 #674E68
triadic
#5A4E68 #685A4E #4E685A
tetradic
#5A4E68 #684E4F #5C684E #4E6867
square
#5A4E68 #684E4F #5C684E #4E6867
split-complementary
#5A4E68 #68674E #4F684E
monochromatic
#1D1A22 #3C3445 #5A4E68 #78688B #978AA7

Accessibility & contrast

On white

7.71
#5A4E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5A4E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E68
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E68#FFFFFF#000000##FFFFFF
##5A4E681.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495269
Deuteranopia (green-blind)
#4C5367
Tritanopia (blue-blind)
#585257
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a4e68;
/* rgb */ color: rgb(90, 78, 104);
/* oklch */ color: oklch(44.6% 0.044 305.7);
Tailwind
colors: {
  custom: {
    50: '#897f93',
    500: '#5a4e68',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e68;
$custom-light: #897f93;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e68",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 104
  },
  "hsl": {
    "h": 267.692,
    "s": 14.286,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44588,
    "c": 0.04431,
    "h": 305.7
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#5A4E68
secondary
#8A957D
accent
#B77197
background
#F8F7F9
surface
#F0EEF1
border
#CBC9CB
text
#0B0A0D
muted
#7C7C7E

Preview Lab

Preview with #5A4E68

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

Preview Lab → · Contrast checker → · Palette generator →

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