#21126E
Purple
HEX
RGB
HSL
About #21126E Purple
#21126E is a purple color. In the RGB color model, it is composed of 33 red, 18 green, and 110 blue. In the HSL color space, it has a hue of 250°, 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 #21126E in your CSS, SCSS, or Tailwind projects.
Color Properties
250°
Hue
72%
Saturation
25%
Lightness
Purple
Color Harmonies
Colors that work well with #21126E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #21126E against white and black backgrounds.
Aa#21126E on White
Contrast Ratio15.26:1
AA ✓AA Large ✓AAA ✓
Aa#21126E on Black
Contrast Ratio1.38:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #21126E across different color formats.
| Format | Value |
|---|---|
| HEX | #21126E |
| RGB | rgb(33, 18, 110) |
| HSL | hsl(250, 72%, 25%) |
| RGB Decimal | 33, 18, 110 |
| RGB Percent | 12.9%, 7.1%, 43.1% |
| CMYK (approx.) | 70%, 84%, 0%, 57% |
Related Palettes
12 palettes using #21126E or similar colors