Ionic silica based hybrid material containing the pyridinium group used as an adsorbent for textile dye.