The songkok or peci or kopiah is a cap widely worn in Indonesia, Brunei, and Malaysia. It has the shape of a truncated cone, usually made of black or embroidered felt, cotton or velvet.
The origin of the songkok can be trace which was adopt by ottomans in 1862. One Brunei newspaper account erroneously states that the songkok became a norm in the Malay Archipelago in the 13th century with the coming of Islam in the region.
The earliest written mention of the word songkok is in Syair (1840). While traditional triangular Malay headdress of many peoples.
The Royal Malay Regiment of the Malaysian Army has been using the songkok as part of their uniform since under British rule. In other countries. Scottish hats used.
In Singapore country, the songkok hat was not alow to wear.  It is part of the standard uniform at madrasahs (Islamic religious schools).
The songkok also plays a role in the heraldry of the defunct Sultanate of Sulu.