Almost any coloring agent will work to varying degrees of success. The powdered epoxy dyes are the best for our purposes, and considering how important the glue-up on a knife is, isn't the best what you should be using.
I would NOT use graphite for a colorant. It isn't a dye, but it would be a bad contaminant for the resin.
Note:
Most problems with dyed epoxy are due to the amount of dye added. It takes a TINY amount of dye to tint epoxy. I use the tip of a knife to add a tiny dot of powder, and after stirring the epoxy, it is jet black. You can always add more if the depth of color isn't what you want. A jar of black, white, tan, and red will last most makers a lifetime. These can be blended in mixing epoxy to get many colors that match the wood. Use only slow set epoxy, as the dye needs time to dissolve and you need time to stir it in. One hour set resin is the minimum, but 24 hour resin is by far the best to use.