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