#1A122B Hex Color

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

Hex color #1a122b graphic
An inky, nearly black violet, #1a122b carries significant weight and moody intensity. Because this shade sits on the very edge of black, it excels as a sophisticated UI background where high-contrast white text is necessary for readability. It pairs surprisingly well with muted teals or dusty pinks to soften its serious, formal nature. Use this hex code sparingly as an accent to ground lighter palettes.

Questions about #1a122b

What is #1a122b in RGB, HSL and CMYK?
In RGB, #1a122b is rgb(26, 18, 43), in HSL hsl(259, 41%, 12%) and in CMYK 40%, 58%, 0%, 83%. Browse more shades of purple with names and hex codes.
What colors pair well with #1a122b?
Because #1a122b acts as a near-black, it serves as a strong neutral that allows muted teals and dusty pinks to stand out without competing for attention. Using it alongside lighter, desaturated tones provides necessary visual balance and depth.
Is #1a122b suitable for text backgrounds?
#1a122b is an excellent choice for dark mode UI backgrounds because it offers a sophisticated alternative to pure black while maintaining enough depth to ensure high-contrast white text remains perfectly legible for the reader.
Is #1a122b readable on white or black?
#1a122b has a 18.02:1 contrast ratio on white and 1.16: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.