  We construct a generalization of Koszul duality in the sense of
Keller--Lef\`evre for not necessarily augmented algebras. This duality is
closely related to classical Morita duality and specializes to it in certain
cases.
