You asked

Which used lens under a set price suits dim indoor portraits on an a6400?

The guide can't name a lens under a set price. It has no budget to work from, and the lens prices aren't on this page, so check each lens page for its current price. For dim indoor portraits on the a6400, the lens matters more than the body, as the portraits page argues. The a6400 has no stabilisation, so the lens has to do the work in low light. A wide maximum aperture matters most.

Used gear is a sensible way to afford a fast lens. The buying used page notes that older gear is often most of the camera for a fraction of the price. To convert focal lengths for your own framing, see the focal length section. The a6400 itself is covered on its camera page.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.