An item's cost-efficiency is based on the lowest-tier building block for the stats it possesses. For example, BF Sword is 116.1% efficient compared to Long Sword (the base of cost-efficiency for AD).
Ravenous Hydra grants 75 AD (worth 2700 gold), 100% base HP regen (worth 360 gold), and 12% Lifesteal (worth 660 gold), being worth a total of 3720 while costing 3300. We can't really apply a price to the unique passive/active effects, but it's worth mentioning that it has those effects as well.
Trinity Force grants 30 AD (worth 1080 gold), 30 AP (worth 562.5 gold), 30% AS (worth 900 gold), 10% Crit Chance (worth 500 gold), 250 HP (worth 666.67 gold), 200 MP (worth 400 gold), %MS (which doesn't have a solid base, as the value fluctuates from costing 0 gold for 5% on Zeal to 197.5 for 5% on Aether Wisp), and the two passives--a hyper Spellblade and the Phage Rage MS steroid. Worth a total of 4109.2 gold while costing 3703 gold.
Hydra is ~113% efficient, Trinity is ~111% efficient, before accounting for their passives/actives that can't be valued with gold.
I'd call that a pretty fair spread value. Hydra only offers one directly offensive stat while Trinity offers four, which means that Hydra has less overall power but it also has more focus.