Feb 8 (Reuters) - Brazilian broker XP Inc reported an over 50% jump in fourth-quarter adjusted profit on Tuesday, helped by a surge in assets under custody and increase in new users.

Brazil's weakened economy is in danger of sinking deeper into recession this year, having reported a contraction for two consecutive quarters after a recovery from the pandemic-induced slump, with steep interest rate rises, high inflation and unemployment remaining a threat.

Despite the bleak macroeconomic conditions, XP posted growth in profit in the fourth quarter as a diversified portfolio offset a slump in equities volumes, which fell 5% from the previous quarter.

"Considering XP's consistent net inflow and the expectations for the Brazilian economy, the trend for the revenue mix is to remain similar in 2022, adapting to exogenous variables while we continue to differentiate ourselves in offering the products most demanded by our customers in any scenario," said Chief Executive Officer Thiago Maffra.

The company's loan book grew by almost 19% in the quarter to 10.2 billion reais, as it continues to expand its banking services. Total purchase value with XP's credit card also went up 35% from the previous quarter to 4.4 billion reais ($836.39 million).

XP's assets under custody were 815 billion reais in the fourth quarter, up 23% from a year earlier. Adjusted net income surged 51% to 1.08 billion reais .

XP's net inflow was 48 billion reais in the fourth quarter, up 29% from the third. Active client numbers rose 23% from a year earlier.

Net revenue jumped 36% to 3.26 billion reais. ($1 = 5.2607 reais) (Reporting by Manya Saini and Noor Zainab Hussain in Bengaluru; Editing by Krishna Chandra Eluri)