Pingali Venkayya (2 August 1876/8 – 4 July 1963) was an Indian freedom fighter, known for designing the initial version of the Indian National Flag. Apart from his role in the independence movement, Venkayya was a lecturer, author, geologist, educationalist, agriculturist, and a polyglot. The flag initially consisted of red and green stripes representing Hindus and Muslims, respectively, and, on Gandhi's suggestion, a white stripe was added to represent other communities in India. This flag design was used informally at Congress meetings from 1921 and served as the foundation for the Indian national flag, which was officially adopted in its final form by the Constituent Assembly on 22 July 1947. His parents were Hanumantha Rayudu and Venkata Ratnam. He studied at the Hindu High School in Machilipatnam, but also spent his childhood in various places in the Krishna district like Yarlagadda and Pedakallepalli. He married Rukminamma, the daughter of the Karanam of Pamarru village.

At the age of 19, he enrolled in the British Indian Army and was deployed to South Africa during the Second Boer War (1899–1902), where he met Gandhi for the first time.

Venkayya was also popularly nicknamed 'Diamond Venkayya', as he was an expert in diamond mining. He was also called 'Patti Venkayya' (Cotton Venkayya), because he dedicated most of his time to researching staple varieties of cotton and did a detailed study on a variety called Cambodia Cotton. He was a polyglot who was proficient in many languages including Japanese and Urdu.

Design of National Flag

thumb|220x220px|Gandhi's Flag, designed by Venkayya, was introduced at the Congress meeting in 1921When Venkayya attended the All India Congress Committee (AICC) session in 1906 in Calcutta under the leadership of Dadabhai Naoroji, he was inspired to design a flag for the Indian National Congress as he opposed the idea of hoisting the British flag at Congress meetings. When Gandhi asked Venkayya to submit a design for the flag at the session, he did it within three hours. Venkayya had shown Gandhi a rudimentary design of a flag on a Khadi bunting. This first flag was coloured red and green — the red representing Hindus and the green representing Muslims in the country. On Gandhi's suggestion, Venkayya added a white stripe to represent all the other denominations and religions present in the country. While the flag was not officially adopted by the AICC, which reordered the stripes and changed the red to orange in 1931, it came to be used across the country. Since 1921, Venkayya's flag has been used informally at all Congress meetings. The flag was adopted in its present form during a meeting of the Constituent Assembly on 22 July 1947, twenty days before India's Independence.

Death and legacy

thumb|249x249px|Venkaiah Naidu garlanding the statue of Pingali Venkayya at AIR Station in Vijayawada

Venkayya lived humbly according to Gandhian ideologies and died in 1963. Venkayya's daughter Ghantasala Seetha Mahalakshmi died on 21 July 2022 at the age of 100.

A postage stamp to commemorate Venkayya and the first flag was issued in 2009.