Kemp wound up with 39 home runs and 126 RBI, becoming the first member of the Dodgers in 70 years to lead the National League in both categories. His .324 batting average was third-best in the National League, behind Jose Reyes of the New York Mets (.337) and Ryan Braun of the Brewers (.332).
Los Angeles finished the season, its first under Manager Don Mattingly, three games over .500 even though the club was embroiled in the financial woes of their owner, Frank McCourt.
Arizona, which spotted the Dodgers a seven-run lead before making a late comeback bid, won 94 games this season. That is the fewest by a division champion this year, but it was good enough to put the Diamondbacks into the playoffs with a division-round meeting coming up Saturday against Milwaukee.
Ted Lilly (12-14) gave up three hits and a walk in seven scoreless innings to get the win.
Joe Saunders (12-13) allowed five runs on nine hits for the Diamondbacks.
All of Arizona's runs came in the ninth on a grand slam homer by Cole Gillespie and a solo shot by Henry Blanco.