#38166B
Purple
HEX
RGB
HSL
About #38166B Purple
#38166B is a purple color. In the RGB color model, it is composed of 56 red, 22 green, and 107 blue. In the HSL color space, it has a hue of 264°, saturation of 66%, and lightness of 25%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #38166B in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
264°
Hue
66%
Saturation
25%
Lightness
Purple
Color Harmonies
Colors that work well with #38166B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #38166B against white and black backgrounds.
Aa#38166B on White
Contrast Ratio14.04:1
AA ✓AA Large ✓AAA ✓
Aa#38166B on Black
Contrast Ratio1.5:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #38166B across different color formats.
| Format | Value |
|---|---|
| HEX | #38166B |
| RGB | rgb(56, 22, 107) |
| HSL | hsl(264, 66%, 25%) |
| RGB Decimal | 56, 22, 107 |
| RGB Percent | 22.0%, 8.6%, 42.0% |
| CMYK (approx.) | 48%, 79%, 0%, 58% |
Related Palettes
12 palettes using #38166B or similar colors