In a compactly generated triangulated category, we introduce a class of tilting objects satisfying certain purity condition. We call these the decent tilting objects and show that the tilting heart induced by any such object is equivalent to a category of contramodules over the endomorphism ring of the object endowed with a natural linear topology. This extends the recent result for n-tilting modules of Positselski and \v{S}\v{t}ov\'i\v{c}ek. In the setting of the derived category of a ring, we show that the decent tilting complexes are precisely the silting complexes such that their character dual is cotilting. We show that the hearts of cotilting complexes of finite type are equivalent to the category of discrete modules with respect to the same topological ring. Finally, we show that decent tilting complexes parametrize pairs consisting of a tilting and a cotilting derived equivalence as above together with a tensor compatibility condition.