suit to a T

suit someone to a T

 and fit someone to a T
to be very appropriate for someone. This kind of job suits me to a T. This is Sally's kind of house. It fits her to a T.
See also: suit