#5E577B#5E577B

#5E577B is a mid, muted violet. Relative luminance 0.106; OKLCH L 47.8% C 0.058 H 293.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5E577B
RGBrgb(94, 87, 123)
HSLhsl(252, 17%, 41%)
HSVhsv(252, 29%, 48%)
CMYKcmyk(23.6%, 29.3%, 0%, 51.8%)
CIE-LABlab(38.94, 11.18, -19.29)
CIE-LCHlch(38.94, 22.30, 300.09°)
OKLaboklab(47.79% 0.0226 -0.0532)
OKLCHoklch(47.79% 0.058 293)
XYZxyz(11.5986, 10.6260, 20.1750)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E577B #747B57
analogous
#57627B #5E577B #70577B
triadic
#5E577B #7B5E57 #577B5E
tetradic
#5E577B #7B5762 #747B57 #577B70
square
#5E577B #7B5762 #747B57 #577B70
split-complementary
#5E577B #7B7057 #627B57
monochromatic
#272433 #433E57 #5E577B #7B739C #9D97B5

Accessibility & contrast

On white

6.72
#5E577B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5E577B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E577B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E577B#FFFFFF#000000##FFFFFF
##5E577B1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7D
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#585D64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e577b;
/* rgb */ color: rgb(94, 87, 123);
/* oklch */ color: oklch(47.8% 0.058 293.0);
Tailwind
colors: {
  custom: {
    50: '#8c86a1',
    500: '#5e577b',
    950: '#000000',
  },
}
SCSS
$custom: #5e577b;
$custom-light: #8c86a1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e577b",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 251.667,
    "s": 17.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47794,
    "c": 0.05776,
    "h": 293
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#5E577B
secondary
#9FA38A
accent
#BA6EAB
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0F
muted
#7D7C7E

Preview Lab

Preview with #5E577B

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

Preview Lab → · Contrast checker → · Palette generator →

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