01 - Preheat oven to 350°F. Line an 8x8-inch baking pan with parchment paper, allowing overhang for easy removal.
02 - Whisk melted butter, sugar, and ube halaya in a large bowl until completely smooth.
03 - Beat in eggs and vanilla extract until fully incorporated into the mixture.
04 - Sift flour, salt, and baking powder together in a separate bowl.
05 - Gently fold dry ingredients into ube mixture, being careful not to overmix the batter.
06 - Melt chocolate with 2 tablespoons butter in microwave-safe bowl in 30-second intervals, stirring until smooth.
07 - Spread ube batter evenly in prepared pan. Dollop melted chocolate on top in several spots, then use skewer or knife to swirl for marbled effect.
08 - Bake 32-36 minutes until toothpick inserted in center comes out with a few moist crumbs.
09 - Cool completely in pan before lifting out and cutting into squares.