#221A38
Dark Purple
HEX
RGB
HSL
About #221A38 Dark Purple
#221A38 is a dark purple color. In the RGB color model, it is composed of 34 red, 26 green, and 56 blue. In the HSL color space, it has a hue of 256°, saturation of 37%, and lightness of 16%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #221A38 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
256°
Hue
37%
Saturation
16%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #221A38 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #221A38 against white and black backgrounds.
Aa#221A38 on White
Contrast Ratio16.5:1
AA ✓AA Large ✓AAA ✓
Aa#221A38 on Black
Contrast Ratio1.27:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #221A38 across different color formats.
| Format | Value |
|---|---|
| HEX | #221A38 |
| RGB | rgb(34, 26, 56) |
| HSL | hsl(256, 37%, 16%) |
| RGB Decimal | 34, 26, 56 |
| RGB Percent | 13.3%, 10.2%, 22.0% |
| CMYK (approx.) | 39%, 54%, 0%, 78% |
Related Palettes
12 palettes using #221A38 or similar colors