About #331177
#331177 is a dark, saturated violet with a hue angle of 260°. It belongs to the purple family and reads as a cool color. In the RGB model blue is the strongest channel at 119 (47%) and green the weakest at 17 (7%). Colors like this are typically used for headers, navigation bars and strong brand areas.
- It can be written in 3-digit shorthand as
#317.
Color conversions
| HEX | #331177 |
|---|---|
| Short HEX | #317 |
| RGB | rgb(51, 17, 119) |
| RGB percent | rgb(20%, 6.7%, 46.7%) |
| HSL | hsl(260, 75%, 27%) |
| HSV / HSB | hsv(260, 86%, 47%) |
| CMYK | cmyk(57%, 86%, 0%, 53%) |
| CIELAB (D65) | lab(17.6 41.1 -51.1) |
| Decimal | 3346807 |
| Binary | 00110011 00010001 01110111 |
HEX 33 11 77 → 51, 17, 119 (each pair is a base-16 number: 3×16 + 3 = 51)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #331177
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #331177 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 14.12:1 | Pass | Pass | Pass | Pass |
| Black text | 1.49:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0244 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#002d7a
Deuteranopia#002975
Tritanopia#163045
Achromatopsia#2b2b2b
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 10). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| indigo | #4b0082 | 4.4 |
| midnightblue | #191970 | 4.5 |
| navy | #000080 | 5.2 |
| darkblue | #00008b | 5.5 |
Nearby colors
#441177less red
#221177more green
#332277less green
#330077more blue
#331188less blue
#331166lighter
#442288darker
#220066
CSS
.element {
color: #331177;
background-color: rgb(51, 17, 119);
border: 1px solid hsl(260, 75%, 27%);
box-shadow: 0 2px 8px rgb(51 17 119 / 50%);
}
:root { --brand: #331177; }