#1B152D
Dark Purple
HEX
RGB
HSL
About #1B152D Dark Purple
#1B152D is a dark purple color. In the RGB color model, it is composed of 27 red, 21 green, and 45 blue. In the HSL color space, it has a hue of 255°, saturation of 36%, and lightness of 13%.
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 & Gradients
Use #1B152D in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
255°
Hue
36%
Saturation
13%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #1B152D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1B152D against white and black backgrounds.
Aa#1B152D on White
Contrast Ratio17.62:1
AA ✓AA Large ✓AAA ✓
Aa#1B152D on Black
Contrast Ratio1.19:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1B152D across different color formats.
| Format | Value |
|---|---|
| HEX | #1B152D |
| RGB | rgb(27, 21, 45) |
| HSL | hsl(255, 36%, 13%) |
| RGB Decimal | 27, 21, 45 |
| RGB Percent | 10.6%, 8.2%, 17.6% |
| CMYK (approx.) | 40%, 53%, 0%, 82% |
Related Palettes
12 palettes using #1B152D or similar colors