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