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