#2F1278
Purple
HEX
RGB
HSL
About #2F1278 Purple
#2F1278 is a purple color. In the RGB color model, it is composed of 47 red, 18 green, and 120 blue. In the HSL color space, it has a hue of 257°, saturation of 74%, and lightness of 27%.
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 #2F1278 in your CSS, SCSS, or Tailwind projects.
Color Properties
257°
Hue
74%
Saturation
27%
Lightness
Purple
Color Harmonies
Colors that work well with #2F1278 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2F1278 against white and black backgrounds.
Aa#2F1278 on White
Contrast Ratio14.2:1
AA ✓AA Large ✓AAA ✓
Aa#2F1278 on Black
Contrast Ratio1.48:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2F1278 across different color formats.
| Format | Value |
|---|---|
| HEX | #2F1278 |
| RGB | rgb(47, 18, 120) |
| HSL | hsl(257, 74%, 27%) |
| RGB Decimal | 47, 18, 120 |
| RGB Percent | 18.4%, 7.1%, 47.1% |
| CMYK (approx.) | 61%, 85%, 0%, 53% |
Related Palettes
12 palettes using #2F1278 or similar colors