Usually
pH scale measures from 1 to 14
Purple colour indicates pH as 14
Hence it's an base
But it doesn't react with metals to form salts and hydrogen gas.
It's sure it's non metal but not base
One possibility is that it's Carbon compound or Graphite compound which reacts like base but a metal in real sometimes