#340F3F
Dark Purple
HEX
RGB
HSL
About #340F3F Dark Purple
#340F3F is a dark purple color. In the RGB color model, it is composed of 52 red, 15 green, and 63 blue. In the HSL color space, it has a hue of 286°, saturation of 62%, and lightness of 15%.
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 #340F3F in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
286°
Hue
62%
Saturation
15%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #340F3F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #340F3F against white and black backgrounds.
Aa#340F3F on White
Contrast Ratio16.33:1
AA ✓AA Large ✓AAA ✓
Aa#340F3F on Black
Contrast Ratio1.29:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #340F3F across different color formats.
| Format | Value |
|---|---|
| HEX | #340F3F |
| RGB | rgb(52, 15, 63) |
| HSL | hsl(286, 62%, 15%) |
| RGB Decimal | 52, 15, 63 |
| RGB Percent | 20.4%, 5.9%, 24.7% |
| CMYK (approx.) | 17%, 76%, 0%, 75% |
Related Palettes
12 palettes using #340F3F or similar colors