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