#302138
Dark Purple
HEX
RGB
HSL
About #302138 Dark Purple
#302138 is a dark purple color. In the RGB color model, it is composed of 48 red, 33 green, and 56 blue. In the HSL color space, it has a hue of 279°, saturation of 26%, and lightness of 17%.
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 #302138 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
279°
Hue
26%
Saturation
17%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #302138 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #302138 against white and black backgrounds.
Aa#302138 on White
Contrast Ratio15:1
AA ✓AA Large ✓AAA ✓
Aa#302138 on Black
Contrast Ratio1.4:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #302138 across different color formats.
| Format | Value |
|---|---|
| HEX | #302138 |
| RGB | rgb(48, 33, 56) |
| HSL | hsl(279, 26%, 17%) |
| RGB Decimal | 48, 33, 56 |
| RGB Percent | 18.8%, 12.9%, 22.0% |
| CMYK (approx.) | 14%, 41%, 0%, 78% |
Related Palettes
12 palettes using #302138 or similar colors