A female Ficus treubii from the Sabah Ficus Germplasm Centre (SFGC)  at Tabin in Sabah.

Once the fig is cut in half the flesh of the ripe fig changes  to dark purple over a period of around an hour.

See these other articles on Ficus treubii.

Ficus treubii (male): Purple sap at Sg Senentang, Kapit, Sarawak

Ficus treubii (male): The chameleon fig

Ficus treubii: Are male figs toxic to animals ?

Information and photos thanks to the staff at the  Sabah Ficus Germplasm Centre