#312F4B Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Dark, dusty purple with a navy lean. #312f4b reads shadowy and muted, which makes it a strong dark mode base rather than an accent. White text hits about 12.8:1 contrast on it, so small body copy stays readable. Its hex code sits close to black, near what you’d get from mixing black with a drop of violet.
Questions about #312f4b
What is #312f4b in RGB, HSL and CMYK?
In RGB, #312f4b is rgb(49, 47, 75), in HSL hsl(244, 23%, 24%) and in CMYK 35%, 37%, 0%, 71%. Browse more shades of purple with names and hex codes.
What colors pair well with #312f4b?
Warm muted tones like terracotta, dusty rose, and aged brass bring out its purple side. Cool grays and navy flatten it, so keep those for supporting roles.
Is #312f4b readable on white or black?
#312f4b has a 12.81:1 contrast ratio on white and 1.63: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 is too faint for text. Try other pairs in the contrast checker.