#5B4E70#5B4E70

#5B4E70 is a mid, muted violet. Relative luminance 0.088; OKLCH L 45.1% C 0.057 H 301.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5B4E70
RGBrgb(91, 78, 112)
HSLhsl(263, 18%, 37%)
HSVhsv(263, 30%, 44%)
CMYKcmyk(18.7%, 30.4%, 0%, 56.1%)
CIE-LABlab(35.68, 12.99, -17.54)
CIE-LCHlch(35.68, 21.83, 306.52°)
OKLaboklab(45.06% 0.0298 -0.0482)
OKLCHoklch(45.06% 0.057 301.7)
XYZxyz(9.9628, 8.8428, 16.5081)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E70 #63704E
analogous
#4E5270 #5B4E70 #6C4E70
triadic
#5B4E70 #705B4E #4E705B
tetradic
#5B4E70 #704E52 #63704E #4E706C
square
#5B4E70 #704E52 #63704E #4E706C
split-complementary
#5B4E70 #706C4E #52704E
monochromatic
#201C28 #3E354C #5B4E70 #786794 #988BAE

Accessibility & contrast

On white

7.59
#5B4E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5B4E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E70
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E70#FFFFFF#000000##FFFFFF
##5B4E701.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475471
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#58535A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b4e70;
/* rgb */ color: rgb(91, 78, 112);
/* oklch */ color: oklch(45.1% 0.057 301.7);
Tailwind
colors: {
  custom: {
    50: '#8a7f99',
    500: '#5b4e70',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e70;
$custom-light: #8a7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e70",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 112
  },
  "hsl": {
    "h": 262.941,
    "s": 17.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45056,
    "c": 0.05666,
    "h": 301.7
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#5B4E70
secondary
#909B7F
accent
#BB6D9D
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #5B4E70

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

Preview Lab → · Contrast checker → · Palette generator →

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