I know that OBJ file format officially doesn’t support vertex colors, but in the market many programs can import vertex colors from OBJ files in this way:
v X Y Z R G B A
X, Y and Z are coordinates as floats. R G B and A are colors, which are unofficial additions to vertex coordinates.