#302A42
Dark Purple
HEX
RGB
HSL
About #302A42 Dark Purple
#302A42 is a dark purple color. In the RGB color model, it is composed of 48 red, 42 green, and 66 blue. In the HSL color space, it has a hue of 255°, saturation of 22%, and lightness of 21%.
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 & Gradients
Use #302A42 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
255°
Hue
22%
Saturation
21%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #302A42 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #302A42 against white and black backgrounds.
Aa#302A42 on White
Contrast Ratio13.68:1
AA ✓AA Large ✓AAA ✓
Aa#302A42 on Black
Contrast Ratio1.54:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #302A42 across different color formats.
| Format | Value |
|---|---|
| HEX | #302A42 |
| RGB | rgb(48, 42, 66) |
| HSL | hsl(255, 22%, 21%) |
| RGB Decimal | 48, 42, 66 |
| RGB Percent | 18.8%, 16.5%, 25.9% |
| CMYK (approx.) | 27%, 36%, 0%, 74% |
Related Palettes
12 palettes using #302A42 or similar colors