UV observations of X-ray sources 2A0311–227 and 2A0526–328