#5F5864 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Charcoal with a hint of violet, this muted purple reads almost grey. The hex code #5f5864 suits dark mode backgrounds and supporting roles, though it can turn muddy in large washes. White text hits about 6.8:1 contrast, well past AA. Pair it with mustard or dusty rose to keep things from going flat.
Questions about #5f5864
What is #5f5864 in RGB, HSL and CMYK?
In RGB, #5f5864 is rgb(95, 88, 100), in HSL hsl(275, 6%, 37%) and in CMYK 5%, 12%, 0%, 61%.
What colors pair well with #5f5864?
Warm accents like mustard or dusty rose lift its grey undertone and stop it from looking flat. For a calmer palette, lean on pale mauve, sage, or off-white neutrals.
Can you use white text on #5f5864?
Yes. White text on #5f5864 reaches roughly 6.8:1 contrast, comfortably above the 4.5:1 WCAG AA threshold, so small body text stays readable.
Is #5f5864 readable on white or black?
#5f5864 has a 6.84:1 contrast ratio on white and 3.06:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.