The number 313021 (three hundred thirteen thousand twenty-one) is written in Roman numerals as follows: CCCXIIIXXI