These colors have the same value, one in vector, one in raster, why are they different

…and how do I make the vector the same as the raster?

Most likely it is gamma correction issue. Either turn sRGB for your material color swatch, or use linear color sampler for your texture.