The number 876040 (eight hundred seventy-six thousand forty) is written in Roman numerals as follows: DCCCLXXVIXL