#1B0038
Dark Purple
HEX
RGB
HSL
About #1B0038 Dark Purple
#1B0038 is a dark purple color. In the RGB color model, it is composed of 27 red, 0 green, and 56 blue. In the HSL color space, it has a hue of 269°, saturation of 100%, and lightness of 11%.
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 #1B0038 in your CSS, SCSS, or Tailwind projects.
Color Properties
269°
Hue
100%
Saturation
11%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #1B0038 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1B0038 against white and black backgrounds.
Aa#1B0038 on White
Contrast Ratio19.03:1
AA ✓AA Large ✓AAA ✓
Aa#1B0038 on Black
Contrast Ratio1.1:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1B0038 across different color formats.
| Format | Value |
|---|---|
| HEX | #1B0038 |
| RGB | rgb(27, 0, 56) |
| HSL | hsl(269, 100%, 11%) |
| RGB Decimal | 27, 0, 56 |
| RGB Percent | 10.6%, 0.0%, 22.0% |
| CMYK (approx.) | 52%, 100%, 0%, 78% |
Related Palettes
12 palettes using #1B0038 or similar colors