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

#221338 is a dim, near-black purple with extremely low saturation. Its dusty, ashy character makes it an effective background for dark-mode interfaces, especially when paired with high-contrast white text. Because this tone is so desaturated and moody, it functions best as a base color rather than an accent. The hex code for this somber violet is #221338.
Questions about #221338
What is #221338 in RGB, HSL and CMYK?
In RGB, #221338 is rgb(34, 19, 56), in HSL hsl(264, 49%, 15%) and in CMYK 39%, 66%, 0%, 78%. Browse more shades of purple with names and hex codes.
How should I use #221338 in website design?
#221338 functions best as a background color for dark-themed interfaces rather than an accent. It provides enough depth to feel premium while remaining softer than pure black, ensuring high readability when paired with crisp white or light neutral typography.
What colors create a balanced palette with #221338?
Is #221338 readable on white or black?
#221338 has a 17.23:1 contrast ratio on white and 1.21: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.