The number 316821 (three hundred sixteen thousand eight hundred twenty-one) is written in Roman numerals as follows: CCCXVIDCCCXXI