Place all of the ingredients except for the tomatoes and beans in a food processor or blender. Blend until smooth.
Add tomatoes and beans. Process slowly to desired consistency - just a little for a chunky / salsa-like dip; a lot for a smooth, thick, hummus-like dip.