#28166B
Purple
HEX
RGB
HSL
About #28166B Purple
#28166B is a purple color. In the RGB color model, it is composed of 40 red, 22 green, and 107 blue. In the HSL color space, it has a hue of 253°, saturation of 66%, and lightness of 25%.
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 #28166B in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
253°
Hue
66%
Saturation
25%
Lightness
Purple
Color Harmonies
Colors that work well with #28166B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #28166B against white and black backgrounds.
Aa#28166B on White
Contrast Ratio14.82:1
AA ✓AA Large ✓AAA ✓
Aa#28166B on Black
Contrast Ratio1.42:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #28166B across different color formats.
| Format | Value |
|---|---|
| HEX | #28166B |
| RGB | rgb(40, 22, 107) |
| HSL | hsl(253, 66%, 25%) |
| RGB Decimal | 40, 22, 107 |
| RGB Percent | 15.7%, 8.6%, 42.0% |
| CMYK (approx.) | 63%, 79%, 0%, 58% |
Related Palettes
12 palettes using #28166B or similar colors