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