NOVELTY - Photovoltaic element (110), comprises: at least one first electrode (116); at least one n-semiconductive metal oxide; at least one dye for absorption of at least a portion of the electromagnetic radiation, at least one organic hole conductor material and at least one second electrode, where the organic hole conductor material has an absorption spectrum having an absorption maximum in an UV or blue spectral region and then, toward higher wavelengths, an absorption edge declining with wavelength of the electromagnetic radiation; and further has at least one longpass filter.    USE - The photovoltaic element is useful for the conversion of electromagnetic radiation to electrical energy. The varnish is useful for the protection of photovoltaic element for conversion of electromagnetic radiation from damage by UV radiation (all claimed). The photovoltaic element is useful to dye solar cells.    ADVANTAGE - The photovoltaic element has high long-term stability in operation.    DETAILED DESCRIPTION - Photovoltaic element (110) comprises: at least one first electrode (116); at least one n-semiconductive metal oxide; at least one dye for absorption of at least a portion of the electromagnetic radiation, at least one organic hole conductor material and at least one second electrode, where the organic hole conductor material in the photovoltaic element has an absorption spectrum for the electromagnetic radiation having an absorption maximum in an UV or blue spectral region and then, toward higher wavelengths, an absorption edge declining with the wavelength of the electromagnetic radiation and having a characteristic wavelength ( lambda (HTL)), a decadic absorbance of the hole conductor material at a wavelength ( lambda (HTL)) within the declining absorption edge of 0.3; and further has at least one longpass filter having a transmission edge rising with the wavelength of the electromagnetic radiation and having a characteristic wavelength ( lambda (LP)), a transmission of the longpass filter at ( lambda (LP)) of 50% of a maximum transmission of the longpass filter (where lambda (HTL)-30 nm less than or equal to ( lambda (LP)) less than or equal to ( lambda (HTL)+30 nm)). INDEPENDENT CLAIMS are also included for:    (1) producing the photovoltaic element comprising providing the first electrode, n-semiconductive metal oxide, dye for absorption of a portion of electromagnetic radiation, organic hole conductor material and the second electrode, and further providing the longpass filter; and    (2) selecting a longpass filter for use in the photovoltaic element, comprising determining an absorption spectrum of the organic hole conductor material in the photovoltaic element, evaluating the absorption spectrum and determining a characteristic wavelength ( lambda (HTL)), and selecting the longpass filter such that the longpass filter has a transmission edge rising with the wavelength of the electromagnetic radiation.    DESCRIPTION OF DRAWING(S) - The figure shows a layer structure of the photovoltaic element.    Photovoltaic element (110)    Dye solar cell (112)    Substrate (114)    First electrode (116)    Optical blocking layer (118)