Thiruvananthapuram is the official and legislative capital of Kerala.
Thiruvananthapuram is the official State capital, with the Legislative Assembly and the Secretariat. The presence of the Kerala State Film Development Corporation and the Soorya festival also contributed to the cultural growth of Thiruvananthapuram.
While the port city of Kochi, also known as the 'Queen of the Arabian sea,' is a part of the Ernakulam district that is an important financial, commercial, and industrial center of the state with its fine natural harbor bordering the Arabian sea, it is not the capital of the state.
Kochi is an important spice trading center on India's west coast from the 14th century onward. It has further maintained a trade network with Arab merchants from the pre-Islamic era.
Therefore, Thiruvananthapuram is the state's official and legislative capital, while Kochi is tagged as its commercial capital.