#5B4E63#5B4E63

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

Color values

HEX#5B4E63
RGBrgb(91, 78, 99)
HSLhsl(277, 12%, 35%)
HSVhsv(277, 21%, 39%)
CMYKcmyk(8.1%, 21.2%, 0%, 61.2%)
CIE-LABlab(35.15, 9.85, -10.21)
CIE-LCHlch(35.15, 14.18, 313.96°)
OKLaboklab(44.47% 0.0253 -0.0276)
OKLCHoklch(44.47% 0.037 312.5)
XYZxyz(9.2905, 8.5739, 12.9675)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E63 #56634E
analogous
#514E63 #5B4E63 #634E61
triadic
#5B4E63 #635B4E #4E635B
tetradic
#5B4E63 #63514E #56634E #4E6163
square
#5B4E63 #63514E #56634E #4E6163
split-complementary
#5B4E63 #61634E #4E6351
monochromatic
#1C181F #3C3341 #5B4E63 #7A6985 #9989A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B4E63#FFFFFF#000000##FFFFFF
##5B4E631.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)
#4B5264
Deuteranopia (green-blind)
#4E5362
Tritanopia (blue-blind)
#5A5055
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5b4e63;
/* rgb */ color: rgb(91, 78, 99);
/* oklch */ color: oklch(44.5% 0.037 312.5);
Tailwind
colors: {
  custom: {
    50: '#897f8f',
    500: '#5b4e63',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e63;
$custom-light: #897f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e63",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 99
  },
  "hsl": {
    "h": 277.143,
    "s": 11.864,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44474,
    "c": 0.03746,
    "h": 312.5
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#5B4E63
secondary
#84907C
accent
#B5738C
background
#F8F7F8
surface
#F0EEF0
border
#CBC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #5B4E63

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

Preview Lab → · Contrast checker → · Palette generator →

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