#6B40C9
Purple
HEX
RGB
HSL
About #6B40C9 Purple
#6B40C9 is a purple color. In the RGB color model, it is composed of 107 red, 64 green, and 201 blue. In the HSL color space, it has a hue of 259°, saturation of 56%, and lightness of 52%.
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
Use #6B40C9 in your CSS, SCSS, or Tailwind projects.
Color Properties
259°
Hue
56%
Saturation
52%
Lightness
Purple
Color Harmonies
Colors that work well with #6B40C9 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #6B40C9 against white and black backgrounds.
Aa#6B40C9 on White
Contrast Ratio6.56:1
AA ✓AA Large ✓AAA ✗
Aa#6B40C9 on Black
Contrast Ratio3.2:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #6B40C9 across different color formats.
| Format | Value |
|---|---|
| HEX | #6B40C9 |
| RGB | rgb(107, 64, 201) |
| HSL | hsl(259, 56%, 52%) |
| RGB Decimal | 107, 64, 201 |
| RGB Percent | 42.0%, 25.1%, 78.8% |
| CMYK (approx.) | 47%, 68%, 0%, 21% |
Related Palettes
12 palettes using #6B40C9 or similar colors