#5A4E67#5A4E67

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

Color values

HEX#5A4E67
RGBrgb(90, 78, 103)
HSLhsl(269, 14%, 35%)
HSVhsv(269, 24%, 40%)
CMYKcmyk(12.6%, 24.3%, 0%, 59.6%)
CIE-LABlab(35.21, 10.41, -12.65)
CIE-LCHlch(35.21, 16.38, 309.47°)
OKLaboklab(44.54% 0.0255 -0.0344)
OKLCHoklch(44.54% 0.043 306.5)
XYZxyz(9.3886, 8.6018, 13.9950)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E67 #5B674E
analogous
#4E4E67 #5A4E67 #664E67
triadic
#5A4E67 #675A4E #4E675A
tetradic
#5A4E67 #674E4E #5B674E #4E6766
square
#5A4E67 #674E4E #5B674E #4E6766
split-complementary
#5A4E67 #67664E #4E674E
monochromatic
#1D1921 #3C3444 #5A4E67 #78688A #9789A6

Accessibility & contrast

On white

7.72
#5A4E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A4E67
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E67#FFFFFF#000000##FFFFFF
##5A4E671.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5268
Deuteranopia (green-blind)
#4C5366
Tritanopia (blue-blind)
#585157
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a4e67;
/* rgb */ color: rgb(90, 78, 103);
/* oklch */ color: oklch(44.5% 0.043 306.5);
Tailwind
colors: {
  custom: {
    50: '#897f92',
    500: '#5a4e67',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e67;
$custom-light: #897f92;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e67",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 103
  },
  "hsl": {
    "h": 268.8,
    "s": 13.812,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44544,
    "c": 0.04282,
    "h": 306.5
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#5A4E67
secondary
#89947D
accent
#B77195
background
#F8F7F8
surface
#F0EEF0
border
#CBC9CB
text
#0B0A0D
muted
#7C7C7D

Preview Lab

Preview with #5A4E67

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

Preview Lab → · Contrast checker → · Palette generator →

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