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