> However, I'm told by people that myself and my colleagues are getting underpaid (we work at a startup).
That's how “market rate“ works. A profession's salary has nothing to do with what you deserve and everything to do with how your specific combination of skills are valued by the free market.