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