1 The idea
Many people call sRGB "gamma 2.2". From mids to highlights the curves almost overlap, but sRGB has a short straight segment near black (below 0.0031308), so the shadows can differ by several code values.
Convert in with sRGB and out with gamma 2.2 (or the other way round) and the blacks float or sink. That is one source of "blacks don’t match between apps".
2 Hands-on
Two curves that agree, except in the shadows
Switch to "darks 0 – 0.02" and hunt for the biggest gap
Where the numbers come from: Curves and matrices are computed from published definitions (sRGB IEC 61966-2-1, ARRI LogC3 EI 800, Rec.709/P3/Rec.2020/ACES AP1 primaries) and checked against published reference numbers. The tone curve is an example formula, not ACES/AgX/Filmic.