#6228CC
Purple
HEX
RGB
HSL
About #6228CC Purple
#6228CC is a purple color. In the RGB color model, it is composed of 98 red, 40 green, and 204 blue. In the HSL color space, it has a hue of 261°, saturation of 67%, and lightness of 48%.
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 #6228CC in your CSS, SCSS, or Tailwind projects.
Color Properties
261°
Hue
67%
Saturation
48%
Lightness
Purple
Color Harmonies
Colors that work well with #6228CC based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #6228CC against white and black backgrounds.
Aa#6228CC on White
Contrast Ratio7.79:1
AA ✓AA Large ✓AAA ✓
Aa#6228CC on Black
Contrast Ratio2.69:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #6228CC across different color formats.
| Format | Value |
|---|---|
| HEX | #6228CC |
| RGB | rgb(98, 40, 204) |
| HSL | hsl(261, 67%, 48%) |
| RGB Decimal | 98, 40, 204 |
| RGB Percent | 38.4%, 15.7%, 80.0% |
| CMYK (approx.) | 52%, 80%, 0%, 20% |
Related Palettes
12 palettes using #6228CC or similar colors