The present invention relates to compounds useful as inhibitors of bromodomain-containing proteins. The invention also provides pharmaceutically acceptable compositions comprising compounds of the present invention and methods of using said compositions in the treatment of various disorders.