#301F76
Purple
HEX
RGB
HSL
About #301F76 Purple
#301F76 is a purple color. In the RGB color model, it is composed of 48 red, 31 green, and 118 blue. In the HSL color space, it has a hue of 252°, saturation of 58%, and lightness of 29%.
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 #301F76 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
252°
Hue
58%
Saturation
29%
Lightness
Purple
Color Harmonies
Colors that work well with #301F76 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #301F76 against white and black backgrounds.
Aa#301F76 on White
Contrast Ratio13.26:1
AA ✓AA Large ✓AAA ✓
Aa#301F76 on Black
Contrast Ratio1.58:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #301F76 across different color formats.
| Format | Value |
|---|---|
| HEX | #301F76 |
| RGB | rgb(48, 31, 118) |
| HSL | hsl(252, 58%, 29%) |
| RGB Decimal | 48, 31, 118 |
| RGB Percent | 18.8%, 12.2%, 46.3% |
| CMYK (approx.) | 59%, 74%, 0%, 54% |
Related Palettes
12 palettes using #301F76 or similar colors