#1F0051 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #1f0051 graphic
With strong saturation and very low lightness, #1f0051 is a cool blue-violet purple with a gloomy, serious presence. The hex code #1f0051 works well as a dominant background for moody interfaces, gaming layouts, luxury branding, and spiritual themes. Its low lightness provides about 17.8:1 contrast for white text, while gold or magenta accents add needed contrast.

Questions about #1f0051

What is #1f0051 in RGB, HSL and CMYK?
In RGB, #1f0051 is rgb(31, 0, 81), in HSL hsl(263, 100%, 16%) and in CMYK 62%, 100%, 0%, 68%.
What colors pair well with #1f0051?
Gold and warm ivory pair well with #1f0051 because their lightness creates clean contrast against its dense blue-violet base, while muted mauve softens the combination and bright magenta works best as a small accent rather than a large neighboring block.
Is #1f0051 readable on white or black?
#1f0051 has a 17.84:1 contrast ratio on white and 1.17: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.