#401FE5
Purple
HEX
RGB
HSL
About #401FE5 Purple
#401FE5 is a purple color. In the RGB color model, it is composed of 64 red, 31 green, and 229 blue. In the HSL color space, it has a hue of 250°, saturation of 79%, and lightness of 51%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #401FE5 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
250°
Hue
79%
Saturation
51%
Lightness
Purple
Color Harmonies
Colors that work well with #401FE5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #401FE5 against white and black backgrounds.
Aa#401FE5 on White
Contrast Ratio8.25:1
AA ✓AA Large ✓AAA ✓
Aa#401FE5 on Black
Contrast Ratio2.55:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #401FE5 across different color formats.
| Format | Value |
|---|---|
| HEX | #401FE5 |
| RGB | rgb(64, 31, 229) |
| HSL | hsl(250, 79%, 51%) |
| RGB Decimal | 64, 31, 229 |
| RGB Percent | 25.1%, 12.2%, 89.8% |
| CMYK (approx.) | 72%, 86%, 0%, 10% |
Related Palettes
12 palettes using #401FE5 or similar colors