#642FA5
Purple
HEX
RGB
HSL
About #642FA5 Purple
#642FA5 is a purple color. In the RGB color model, it is composed of 100 red, 47 green, and 165 blue. In the HSL color space, it has a hue of 267°, saturation of 56%, and lightness of 42%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #642FA5 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
267°
Hue
56%
Saturation
42%
Lightness
Purple
Color Harmonies
Colors that work well with #642FA5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #642FA5 against white and black backgrounds.
Aa#642FA5 on White
Contrast Ratio8.43:1
AA ✓AA Large ✓AAA ✓
Aa#642FA5 on Black
Contrast Ratio2.49:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #642FA5 across different color formats.
| Format | Value |
|---|---|
| HEX | #642FA5 |
| RGB | rgb(100, 47, 165) |
| HSL | hsl(267, 56%, 42%) |
| RGB Decimal | 100, 47, 165 |
| RGB Percent | 39.2%, 18.4%, 64.7% |
| CMYK (approx.) | 39%, 72%, 0%, 35% |
Related Palettes
12 palettes using #642FA5 or similar colors