#1A1227 Hex Color

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

Hex color #1a1227 graphic
This dark, inky purple carries a heavy, serious weight. Because it is so dim, #1a1227 works best as a moody background or a dominant base in dark mode UI design. It offers excellent contrast for white text at a ratio of 18.1:1, making legibility simple. Designers should pair this hex code with muted metallic tones to prevent it from appearing too flat or dusty.

Questions about #1a1227

What is #1a1227 in RGB, HSL and CMYK?
In RGB, #1a1227 is rgb(26, 18, 39), in HSL hsl(263, 37%, 11%) and in CMYK 33%, 54%, 0%, 85%. Browse more shades of purple with names and hex codes.
What color palettes complement #1a1227?
To avoid a flat appearance, pair #1a1227 with muted metallic accents or cool grays. Adding soft highlights helps break up the heavy, inky nature of the purple without overpowering the serious, minimalist aesthetic of the design.
Is #1a1227 readable on white or black?
#1a1227 has a 18.10:1 contrast ratio on white and 1.15: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.