Above the entrance to a walled compound in the old city of Kano, in northern Nigeria, a year is painted on the wall. 1498.
Behind that gate sit the Kofar Mata dye pits. Dyers have worked them for more than five centuries, dipping cloth into deep indigo vats dug into the earth. They are often described as the oldest dye pits still in use in Africa, and they are still running today, on the same recipe, with no chemicals at all.
Europe had nothing like this in 1498. While European dyers were still working with woad, a paler plant dye, Kano was turning out deep blue cloth so fine that traders crossed the Sahara to buy it.
How do you dye cloth in a hole in the ground?
A dye pit is a shaft sunk metres into the ground and lined with a cement made from ash, clay and local materials. Preparing one takes patience that no modern factory would tolerate. Water goes in first, then wood ash, left to steep for three days. Then comes the baba plant, the local indigo, around 200 kilograms of it, left for three more days. Potash and a substance called katsi go in last, and the whole mixture ferments for up to a month before it is ready.
Then the dyeing starts. A dyer dips the cloth in for about a minute, lifts it out and lets it breathe in the air for a minute or two. The cloth comes out greenish and turns blue as the air touches it. The cycle repeats until the shade is right. About an hour of dipping gives a lighter blue. Three hours gives the darkest shades, a blue so deep it is almost black, with a metallic sheen once the cloth is beaten.
The pits themselves are part of the marvel. Their inner walls have stood for five centuries without peeling, according to the dyers who work them. The recipe has been handed down inside families for generations. The Dabosa family, whose ancestor Muhammadu Dabosa is said to have founded the pits in 1498, still runs them today.
The blue that bought gold and salt
In Kano's trading heyday, indigo cloth was money. Merchants came from Timbuktu in Mali and Tripoli in Libya carrying gold, salt and ivory, and they went home with Kano's blue cloth. Hausa indigo was traded across West Africa and the Sahara, and the deep blue-black turbans worn by Tuareg men, the people Europeans called the Blue Men, came from this same craft.
The cloth carried meaning as well as colour. Dyers tie patterns into the fabric before it goes into the pit, and the designs have names: moon and shadow, moon and star, and three baskets, standing for wealth, education and power.
Kano's cloth trade was one of the great industries of pre-colonial Africa. We told that bigger story in our look at African industry before colonialism, from Kano's cloth empire to the iron of Meroe.
Why the pits are nearly empty now
The pits have survived 500 years. They may not survive the next fifty. Synthetic dyes are cheaper and faster. Imported cloth undercuts the dyers. And the sons who inherit the pits are leaving for government jobs and other work, taking the skill with them.
Of the 144 pits the dyers' association counts at the site, only ten were still working when reporters visited in 2020. A later count put the number even lower. The compound has been refurbished more than once, but the dyers say the support has not matched the praise. Tourists still come to watch, and the cloth still sells abroad, yet the trade lives mostly on pride now.
Five centuries on, the colour still holds
What is remarkable is not only that the pits are old. It is that they work. No chemicals, no machines, no power, just indigo, ash, potash and time, producing a colour that has not faded from fashion in half a millennium.
The gate still says 1498. A handful of pits are still warm. The question is whether the world will notice what it is about to lose, or only remember it once the last pit goes cold.