The number 31591 (thirty-one thousand five hundred ninety-one) is written in Roman numerals as follows: XXXIDXCI