#2D188C
Purple
HEX
RGB
HSL
About #2D188C Purple
#2D188C is a purple color. In the RGB color model, it is composed of 45 red, 24 green, and 140 blue. In the HSL color space, it has a hue of 251°, saturation of 71%, and lightness of 32%.
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 #2D188C in your CSS, SCSS, or Tailwind projects.
Color Properties
251°
Hue
71%
Saturation
32%
Lightness
Purple
Color Harmonies
Colors that work well with #2D188C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2D188C against white and black backgrounds.
Aa#2D188C on White
Contrast Ratio12.96:1
AA ✓AA Large ✓AAA ✓
Aa#2D188C on Black
Contrast Ratio1.62:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2D188C across different color formats.
| Format | Value |
|---|---|
| HEX | #2D188C |
| RGB | rgb(45, 24, 140) |
| HSL | hsl(251, 71%, 32%) |
| RGB Decimal | 45, 24, 140 |
| RGB Percent | 17.6%, 9.4%, 54.9% |
| CMYK (approx.) | 68%, 83%, 0%, 45% |
Related Palettes
12 palettes using #2D188C or similar colors