To the OP:
Background: I'm a long-time Contax 645 user, both film and digital. Did a review here of the Phase One P30 on Contax combo many years ago:
https://luminous-landscape.com/phase-one-p30/ (since this is now a subscription site, you may or may not be able to view it, unfortunately).
Two questions:
(1) What kind of work do you shoot?
(2) In essence, why do you want to have the ability to shoot digitally with the Contax: in order to use the lenses *and* body digitally, or to be able to use the lenses digitally and still get that sweet Contax look?
I ask because the answer to these questions would shape my advice. Thus, if the answer to #1 was "nothing routinely requiring extreme wide angle" and the answer to #2 was "to be able to use my Contax lenses with a digital system because I love the way they look," then I would suggest you look seriously at the Leica S (006 or 007, depending on your needs) plus a Contax adapter, rather than a digital back for the Contax 645. And you can still keep your Contax and use it for film. That's where I am currently.
Here's why I'm making this suggestion:
(1) You can get a 37 megapixel Leica S 006 there days for about $5500:
http://leicastoremiami.com/collections/used-s-cameras/products/used-leica-s-typ-006-extra-battery-3(2) The Contax adapter costs roughly $1700 new, $1300 preowned, $900 used. (There was a preowned one here recently:
http://leicastoremiami.com/products/certified-pre-owned-leica-s-adapter-c-for-contax-lenses-1. I bought mine used from Leica Store Soho for $800)
(3) Even using the higher-end figures above for a used 006 (say $6000) and a new Contax adapter (say $1800), you're at $7800 for a digital platform on which you can use your existing Contax lenses (and, of course, the Leica lenses if you decide to get some in future).
(4) I don't know the precise going rate on used or new P45s and P65s in Contax mount, but I believe they're quite a bit higher than $7800:
http://www.ebay.com/sch/i.html?_odkw=phase+one+p65&_sop=16&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0.H0.Xphase+one+p45.TRS0&_nkw=phase+one+p45&_sacat=0.
EDIT: Actually, looks like one could get a used/refurbished P45+ for about the same price as a used Leica S plus Contax adapter:
https://www.digitalback.com/product-category/0-pre-owned-digital-backs/4-contax-mount/ The P45 is 39 megs while the Leica is 37.5 megs, so that's a wash. Now granted, the P65 is 60 megs versus the Leica's 37.5 megs, so that may be a deal breaker depending on what you shoot (and how big you print).
The other thing that may be a deal-breaker is whether you need extreme wide-angle capability from your Contax lenses. If so, then you need one of the near-full frame digital backs in order to preserve the existing angle of view of your 35mm when used with 645 film. If I recall correctly, the Contax 645 35mm lens has an angle of view approximately the same as a 21mm lens would have on a 35mm camera. That same lens on a Leica S via Contax adapter would "only" have the angle of view of a moderately wide wide-angle of roughly 28mm lens in 35mm terms, due to the sensor's crop factor as compared to full frame 645. (Math: The Contax 35mm lens is exactly half the length of the native Leica S 70mm lens. The 70mm lens is roughly a "normal" angle of view, comparable to 56mm on a 35mm camera. Half of 56mm in 35mm terms = 28mm in 35mm terms).
Even if you never wanted to buy a Leica lens, and provided that you could live with your widest Contax lens being the equivalent of a moderate wide angle, then I'd strongly suggest you consider this route. Or, you could just eventually buy the Leica 30-90 zoom, the Leica 30mm, or the Leica 24mm.
Note: Having shot the Contax with Phase backs previously, I might not have been been entirely convinced in the abstract that I could replicate that same quality with the Contax lenses on the Leica S body. Having now shot the Leica S with Contax (and Leica) lenses for some time, any doubts I may have had have disappeared. The file depth and "feel" is equally as good (and in some ways better). Admittedly, I have never shot with the newer CMOS Phase backs nor the extremely high resolution (80 megapixel) CCD Phase backs.