#28126D
Purple
HEX
RGB
HSL
About #28126D Purple
#28126D is a purple color. In the RGB color model, it is composed of 40 red, 18 green, and 109 blue. In the HSL color space, it has a hue of 255°, saturation of 72%, and lightness of 25%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #28126D in your CSS, SCSS, or Tailwind projects.
Color Properties
255°
Hue
72%
Saturation
25%
Lightness
Purple
Color Harmonies
Colors that work well with #28126D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #28126D against white and black backgrounds.
Aa#28126D on White
Contrast Ratio15.03:1
AA ✓AA Large ✓AAA ✓
Aa#28126D on Black
Contrast Ratio1.4:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #28126D across different color formats.
| Format | Value |
|---|---|
| HEX | #28126D |
| RGB | rgb(40, 18, 109) |
| HSL | hsl(255, 72%, 25%) |
| RGB Decimal | 40, 18, 109 |
| RGB Percent | 15.7%, 7.1%, 42.7% |
| CMYK (approx.) | 63%, 83%, 0%, 57% |
Related Palettes
12 palettes using #28126D or similar colors