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