#5F577B#5F577B

#5F577B is a mid, muted violet. Relative luminance 0.107; OKLCH L 47.9% C 0.058 H 294.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5F577B
RGBrgb(95, 87, 123)
HSLhsl(253, 17%, 41%)
HSVhsv(253, 29%, 48%)
CMYKcmyk(22.8%, 29.3%, 0%, 51.8%)
CIE-LABlab(39.03, 11.52, -19.14)
CIE-LCHlch(39.03, 22.34, 301.04°)
OKLaboklab(47.89% 0.0238 -0.0527)
OKLCHoklch(47.89% 0.058 294.3)
XYZxyz(11.7018, 10.6792, 20.1798)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F577B #737B57
analogous
#57617B #5F577B #71577B
triadic
#5F577B #7B5F57 #577B5F
tetradic
#5F577B #7B5761 #737B57 #577B71
square
#5F577B #7B5761 #737B57 #577B71
split-complementary
#5F577B #7B7157 #617B57
monochromatic
#282433 #433E57 #5F577B #7C739C #9E97B5

Accessibility & contrast

On white

6.70
#5F577B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5F577B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F577B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F577B#FFFFFF#000000##FFFFFF
##5F577B1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f577b;
/* rgb */ color: rgb(95, 87, 123);
/* oklch */ color: oklch(47.9% 0.058 294.3);
Tailwind
colors: {
  custom: {
    50: '#8d86a1',
    500: '#5f577b',
    950: '#000000',
  },
}
SCSS
$custom: #5f577b;
$custom-light: #8d86a1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f577b",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 253.333,
    "s": 17.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47886,
    "c": 0.05786,
    "h": 294.3
  },
  "luminance": 0.10679
}

Semantic roles & 50–950 ramp

primary
#5F577B
secondary
#9EA38A
accent
#BA6EA9
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0F
muted
#7D7C7E

Preview Lab

Preview with #5F577B

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

Preview Lab → · Contrast checker → · Palette generator →

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