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