More than $1 million was contributed to the three Democratic candidates for mayor of the District of Columbia in last fall's election, including more than $500,000 to the one-time underdog and eventual winner, Mayor Marion Barry.

Barry received $508,166 for his primary and general election campaigns, according to the latest report, filed this week with the D.C. Board of Elections and Ethics.

His two Democratic rivals, former Mayor Walter E. Washington and ex-City Council chairman Sterling Tucker, received less for their primary campaigns. But each still surpassed the $200,000 Washington reported spending in his 1974 campaign, which was the first eclection for mayor of the District.

Washington reported receiving $293,397 for last year's race and spending $298,590 with remaining debts of $26,459. The Tucker campaign received $394,146 and spent $392,608 and has outstanding debts of $15,730, according to reports.

City Council Chairman Arrington Dixon raised $154,827, spent $151,040 and has a cash balance of $3,786.

Max Berry, treasurer of Barry's campaign committee, said the Barry organization probably would raise no additional funds. The committee has a $15,453 cash balance and has not yet determined what will be done with that money.