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