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 smooth and fully combined.
03 - Beat in eggs and vanilla extract until the mixture is uniform and glossy.
04 - Sift flour, salt, and baking powder into a separate bowl.
05 - Gently fold dry ingredients into the ube mixture until just incorporated, being careful not to overmix.
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 over surface and swirl with skewer or knife to create marbled pattern.
08 - Bake 32-36 minutes until toothpick inserted in center emerges with moist crumbs.
09 - Cool completely in pan before lifting out using parchment overhang and cutting into squares.