Catalysis of the reactions: 3'-phosphoadenylyl sulfate + dermatan = adenosine 3',5'-bisphosphate + dermatan 6'-sulfate and 3'-phosphoadenylyl sulfate + chondroitin = adenosine 3',5'-bisphosphate + chondroitin 6'-sulfate.