You asked

Sigma 45mm f 2 8 dg contemporary vs sony e 30mm f 3 5 macro?

Here is what the site says about that.

From Sigma 45mm f/2.8 DG Contemporary: Sigma 45mm f/2.8 DG Contemporary: A prime lens by Sigma for Full frame cameras, 45mm f/2.8. A small metal standard prime with a soft, classic look wide open; sold as the 45mm f/2.8 DG DN before 2025. Specs - Maker: Sigma - Focal length: 45mm (prime) - Maximum aperture: f/2.8 - Made for: Full frame sensors - Mounts: Sony E, L-Mount - Stabilised: no - Autofocus: yes What it frames like - On full frame ...

From Sony E 30mm f/3.5 Macro: Sony E 30mm f/3.5 Macro: A macro lens by Sony for APS-C cameras, 30mm f/3.5. Specs - Maker: Sony - Focal length: 30mm (macro) - Maximum aperture: f/3.5 - Made for: APS-C sensors - Mounts: Sony E - Stabilised: no - Autofocus: yes What it frames like - On APS-C (Sony E): like 45mm on full frame; f/3.5 gives about the depth of field of f/5.2 there. - On the larger-sensor bodies of Sony E: ...

Quoted from this site's pages.

From these pages