#381C87
Purple
HEX
RGB
HSL
About #381C87 Purple
#381C87 is a purple color. In the RGB color model, it is composed of 56 red, 28 green, and 135 blue. In the HSL color space, it has a hue of 256°, saturation of 66%, and lightness of 32%.
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
Use #381C87 in your CSS, SCSS, or Tailwind projects.
Color Properties
256°
Hue
66%
Saturation
32%
Lightness
Purple
Color Harmonies
Colors that work well with #381C87 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #381C87 against white and black backgrounds.
Aa#381C87 on White
Contrast Ratio12.47:1
AA ✓AA Large ✓AAA ✓
Aa#381C87 on Black
Contrast Ratio1.68:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #381C87 across different color formats.
| Format | Value |
|---|---|
| HEX | #381C87 |
| RGB | rgb(56, 28, 135) |
| HSL | hsl(256, 66%, 32%) |
| RGB Decimal | 56, 28, 135 |
| RGB Percent | 22.0%, 11.0%, 52.9% |
| CMYK (approx.) | 59%, 79%, 0%, 47% |
Related Palettes
12 palettes using #381C87 or similar colors