#30159E
Purple
HEX
RGB
HSL
About #30159E Purple
#30159E is a purple color. In the RGB color model, it is composed of 48 red, 21 green, and 158 blue. In the HSL color space, it has a hue of 252°, saturation of 77%, and lightness of 35%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #30159E in your CSS, SCSS, or Tailwind projects.
Color Properties
252°
Hue
77%
Saturation
35%
Lightness
Purple
Color Harmonies
Colors that work well with #30159E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #30159E against white and black backgrounds.
Aa#30159E on White
Contrast Ratio12.16:1
AA ✓AA Large ✓AAA ✓
Aa#30159E on Black
Contrast Ratio1.73:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #30159E across different color formats.
| Format | Value |
|---|---|
| HEX | #30159E |
| RGB | rgb(48, 21, 158) |
| HSL | hsl(252, 77%, 35%) |
| RGB Decimal | 48, 21, 158 |
| RGB Percent | 18.8%, 8.2%, 62.0% |
| CMYK (approx.) | 70%, 87%, 0%, 38% |
Related Palettes
12 palettes using #30159E or similar colors