The number 311827 (three hundred eleven thousand eight hundred twenty-seven) is written in Roman numerals as follows: CCCXIDCCCXXVII