Bottom cowrie-shell radical, the indexing component. Cowries were ancient currency, so
贝 marks
质 as a value/wealth character: original sense was 'pledge, hostage, collateral' — something axes were given for, paid in shells. Modern senses 'quality, substance, nature' extend from 'what something really is worth.'