#333040
Dark Purple
HEX
RGB
HSL
About #333040 Dark Purple
#333040 is a dark purple color. In the RGB color model, it is composed of 51 red, 48 green, and 64 blue. In the HSL color space, it has a hue of 251°, saturation of 14%, and lightness of 22%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #333040 in your CSS, SCSS, or Tailwind projects.
Color Properties
251°
Hue
14%
Saturation
22%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #333040 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #333040 against white and black backgrounds.
Aa#333040 on White
Contrast Ratio12.82:1
AA ✓AA Large ✓AAA ✓
Aa#333040 on Black
Contrast Ratio1.64:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #333040 across different color formats.
| Format | Value |
|---|---|
| HEX | #333040 |
| RGB | rgb(51, 48, 64) |
| HSL | hsl(251, 14%, 22%) |
| RGB Decimal | 51, 48, 64 |
| RGB Percent | 20.0%, 18.8%, 25.1% |
| CMYK (approx.) | 20%, 25%, 0%, 75% |
Related Palettes
12 palettes using #333040 or similar colors