#0A0221
Dark Purple
HEX
RGB
HSL
About #0A0221 Dark Purple
#0A0221 is a dark purple color. In the RGB color model, it is composed of 10 red, 2 green, and 33 blue. In the HSL color space, it has a hue of 255°, saturation of 89%, and lightness of 7%.
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 #0A0221 in your CSS, SCSS, or Tailwind projects.
Color Properties
255°
Hue
89%
Saturation
7%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #0A0221 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #0A0221 against white and black backgrounds.
Aa#0A0221 on White
Contrast Ratio20.12:1
AA ✓AA Large ✓AAA ✓
Aa#0A0221 on Black
Contrast Ratio1.04:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #0A0221 across different color formats.
| Format | Value |
|---|---|
| HEX | #0A0221 |
| RGB | rgb(10, 2, 33) |
| HSL | hsl(255, 89%, 7%) |
| RGB Decimal | 10, 2, 33 |
| RGB Percent | 3.9%, 0.8%, 12.9% |
| CMYK (approx.) | 70%, 94%, 0%, 87% |
Related Palettes
12 palettes using #0A0221 or similar colors