#5F577A#5F577A

#5F577A is a mid, muted violet. Relative luminance 0.107; OKLCH L 47.8% C 0.056 H 294.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5F577A
RGBrgb(95, 87, 122)
HSLhsl(254, 17%, 41%)
HSVhsv(254, 29%, 48%)
CMYKcmyk(22.1%, 28.7%, 0%, 52.2%)
CIE-LABlab(38.99, 11.26, -18.59)
CIE-LCHlch(38.99, 21.74, 301.20°)
OKLaboklab(47.84% 0.0235 -0.0512)
OKLCHoklch(47.84% 0.056 294.7)
XYZxyz(11.6396, 10.6543, 19.8518)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F577A #727A57
analogous
#57607A #5F577A #70577A
triadic
#5F577A #7A5F57 #577A5F
tetradic
#5F577A #7A5760 #727A57 #577A70
square
#5F577A #7A5760 #727A57 #577A70
split-complementary
#5F577A #7A7057 #607A57
monochromatic
#272433 #433E56 #5F577A #7C739B #9E97B5

Accessibility & contrast

On white

6.71
#5F577A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F577A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F577A#FFFFFF#000000##FFFFFF
##5F577A1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7B
Deuteranopia (green-blind)
#505B79
Tritanopia (blue-blind)
#5A5D63
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5f577a;
/* rgb */ color: rgb(95, 87, 122);
/* oklch */ color: oklch(47.8% 0.056 294.7);
Tailwind
colors: {
  custom: {
    50: '#8d86a0',
    500: '#5f577a',
    950: '#000000',
  },
}
SCSS
$custom: #5f577a;
$custom-light: #8d86a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f577a",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 122
  },
  "hsl": {
    "h": 253.714,
    "s": 16.746,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47839,
    "c": 0.05632,
    "h": 294.7
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#5F577A
secondary
#9DA38A
accent
#B96EA8
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #5F577A

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

Preview Lab → · Contrast checker → · Palette generator →

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