The number 27831 (twenty-seven thousand eight hundred thirty-one) is written in Roman numerals as follows: XXVIIDCCCXXXI