A series of azo dyes, possessing amide fragments with restricted flexibility tethered to 4-(phenyldiazenyl)naphthalen-1-ol, was obtained from 1-hydroxy-2-naphthoic acid by subsequent conversion to amides and diazo coupling. It was shown that the position of the tautomeric equilibrium in solution strongly depends on the solvent in both UV and NMR concentration scale. The compounds exist as pure enol forms in chloroform and hydrocarbons, while in polar solvents (acetone, acetonitrile, alcohols) a tautomeric mixture is observed. According to the quantum-chemical calculations the aggregation of the keto tautomer is the possible reason for this shift in the position of the tautomeric equilibrium. To support the theoretical predictions, it was found that from acetone the keto form crystallizes as a dimer with hydrogen bonding between N 1 eH in the one molecule and amide C]O in the other forming a three-dimensional structure. The importance of the side-chain nitrogen atom on the dimer formation was confirmed by solution and solid state study of 4-(phenyldiazenyl)-2-acetylnaphthalen-1-ol. The results indicate that the new azo-dyes obtained could be suitable candidates for switching and sensing applications in non-polar solvents.