and to salts thereof, wherein R1-R6 have any of the values defined in the specification, and compositions and uses thereof. The compounds are useful as inhibitors of TAF1. Also included are pharmaceutical compositions comprising a compound of formula (I) or a pharmaceutically acceptable salt thereof, and methods of using such compounds and salts in the treatment of various TAF1-mediated disorders.