The number 840127 (eight hundred forty thousand one hundred twenty-seven) is written in Roman numerals as follows: DCCCXLCXXVII