Spanish and Portuguese form of Louis which is ultimately from Old German "famous warrior". Now found in English-speaking communities, especially in the US.
The spelling Luis does occur, but rarely, in the 1841 Census of Aberdeenshire.
Thanks to Donald Whyte who provided much of the initial information for this site.