#6C21D4
Purple
HEX
RGB
HSL
About #6C21D4 Purple
#6C21D4 is a purple color. In the RGB color model, it is composed of 108 red, 33 green, and 212 blue. In the HSL color space, it has a hue of 265°, saturation of 73%, and lightness of 48%.
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
Use #6C21D4 in your CSS, SCSS, or Tailwind projects.
Color Properties
265°
Hue
73%
Saturation
48%
Lightness
Purple
Color Harmonies
Colors that work well with #6C21D4 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #6C21D4 against white and black backgrounds.
Aa#6C21D4 on White
Contrast Ratio7.48:1
AA ✓AA Large ✓AAA ✓
Aa#6C21D4 on Black
Contrast Ratio2.81:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #6C21D4 across different color formats.
| Format | Value |
|---|---|
| HEX | #6C21D4 |
| RGB | rgb(108, 33, 212) |
| HSL | hsl(265, 73%, 48%) |
| RGB Decimal | 108, 33, 212 |
| RGB Percent | 42.4%, 12.9%, 83.1% |
| CMYK (approx.) | 49%, 84%, 0%, 17% |
Related Palettes
12 palettes using #6C21D4 or similar colors