#401F98
Purple
HEX
RGB
HSL
About #401F98 Purple
#401F98 is a purple color. In the RGB color model, it is composed of 64 red, 31 green, and 152 blue. In the HSL color space, it has a hue of 256°, saturation of 66%, and lightness of 36%.
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
Use #401F98 in your CSS, SCSS, or Tailwind projects.
Color Properties
256°
Hue
66%
Saturation
36%
Lightness
Purple
Color Harmonies
Colors that work well with #401F98 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #401F98 against white and black backgrounds.
Aa#401F98 on White
Contrast Ratio11.25:1
AA ✓AA Large ✓AAA ✓
Aa#401F98 on Black
Contrast Ratio1.87:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #401F98 across different color formats.
| Format | Value |
|---|---|
| HEX | #401F98 |
| RGB | rgb(64, 31, 152) |
| HSL | hsl(256, 66%, 36%) |
| RGB Decimal | 64, 31, 152 |
| RGB Percent | 25.1%, 12.2%, 59.6% |
| CMYK (approx.) | 58%, 80%, 0%, 40% |
Related Palettes
12 palettes using #401F98 or similar colors