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