Combine all-purpose flour, granulated sugar, salt, and baking powder. Mix until everything is well blended.
In a separate bowl, combine egg, melted butter, ube halaya, and ube extract. Stir everything until well combined.
Add the dry ingredients, one cup at a time, to the wet ingredients. Using a silicone spatula, stir until everything is well combined.
Cover and refrigerate the dough until it is firm enough to shape into balls. This will take an hour or longer. If you want to speed up the process, you can freeze the dough for 10-20 minutes.
Scoop 1-2 tablespoons cookie dough and, using your hands, roll it into a ball.
Thoroughly coat each ball with the confectioner’s sugar, then place it in the baking tray lined with a cookie sheet or a silicone mat. Make sure to space your cookies about 1-2 inches apart.
Bake in preheated 350 °F (177 °C) degrees oven for 10-12 minutes. While every oven is different, start checking at the 10-minute mark.
Transfer to a cooling wire rack to cool. Serve and enjoy!