#28196C
Purple
HEX
RGB
HSL
About #28196C Purple
#28196C is a purple color. In the RGB color model, it is composed of 40 red, 25 green, and 108 blue. In the HSL color space, it has a hue of 251°, saturation of 62%, 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
Use #28196C in your CSS, SCSS, or Tailwind projects.
Color Properties
251°
Hue
62%
Saturation
26%
Lightness
Purple
Color Harmonies
Colors that work well with #28196C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #28196C against white and black backgrounds.
Aa#28196C on White
Contrast Ratio14.52:1
AA ✓AA Large ✓AAA ✓
Aa#28196C on Black
Contrast Ratio1.45:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #28196C across different color formats.
| Format | Value |
|---|---|
| HEX | #28196C |
| RGB | rgb(40, 25, 108) |
| HSL | hsl(251, 62%, 26%) |
| RGB Decimal | 40, 25, 108 |
| RGB Percent | 15.7%, 9.8%, 42.4% |
| CMYK (approx.) | 63%, 77%, 0%, 58% |
Related Palettes
12 palettes using #28196C or similar colors