Preheat the oven to 350°F. Brush the bottoms and sides of the pans with melted butter and line the bottoms with parchment paper.
In a large bowl, sift together the flour, cocoa powder, baking powder, baking soda, and salt. Set aside.
In a separate bowl, combine the sour cream, vanilla, and almond extract. Set aside.
In the bowl of a standing mixer fitted with a paddle attachment, combine the butter and sugar and beat on medium speed until smooth.
Set the mixer to low speed and add the eggs, one at a time, scraping thoroughly between each addition.
Alternately add the flour and sour cream mixtures to the butter mixture in two batches, starting and ending with the flour mixture. Scrape down the bowl after each addition.