Compounds of the general formula (1) ##STR1## wherein R.sub.1 denotes hydrogen, halogen, alkyl, alkoxy or, conjointly with R.sub.2, a fused benzo ring, R.sub.2 denotes hydrogen, alkyl, alkoxy, halogen, phenyl, cyano, carboalkoxy, carboxyl, carbonamido, monoalkylcarbonamido, dialkylcarbonamido, sulfo, alkylsulfonyl, alkyloxysulfonyl, sulfonamido, monoalkylsulfonamido or dialkylsulfonamido or, conjointly with R.sub.3, a fused benzo ring, R.sub.3 has the same meaning as R.sub.2, R.sub.4 denotes hydrogen, alkyl, alkoxy, halogen or, conjointly with R.sub.3, a fused benzo ring, R.sub.5 denotes alkyl, hydroxyalkyl, alkoxyalkyl, optionally substituted aralkyl, cyanoethyl, cycloalkyl or a group of the formulae --CH.sub.2 CN, --CH.sub.2 CONH.sub.2 or --CH.sub.2 COO--alkyl, A denotes a group of the formulae ##STR2## or--(CH.sub.2).sub.4 --R.sub.6 denotes hydrogen, alkyl, hydroxyalkyl, alkoxyalkyl, aralkyl or optionally substituted phenyl, n denotes 1, 2 or 3 and X.sup.(-) denotes a halide, alkylsulfonate, alkylsulfate, alkylphenylsulfonate or phenylsulfonate ion, and processes for their preparation and their use as optical brighteners.
Description
The invention relates to new, quaternized, bridged benzimidazolylbenzimidazoles of the general formula (1) ##STR3## wherein R.sub.1 denotes hydrogen, halogen, alkyl, alkoxy or, conjointly with R.sub.2, a fused benzo ring, R.sub.2 denotes hydrogen, alkyl, alkoxy, halogen, phenyl, cyano, carboalkoxy, carboxyl, carbonamido, monoalkylcarbonamido, dialkylcarbonamido, sulfo, alkylsulfonyl, alkyloxysulfonyl, sulfonamido, monoalkylsulfonamido or dialkylsulfonamido or, conjointly with R.sub.3, a fused benzo ring, R.sub.3 has the same meaning as R.sub.2, R.sub.4 denotes hydrogen, alkyl, alkoxy, halogen or, conjointly with R.sub.3, a fused benzo ring, R.sub.5 denotes alkyl, hydroxyalkyl, alkoxyalkyl, optionally substituted aralkyl, cyanoethyl, cycloalkyl or a group of the formulae --CH.sub.2 CN, --CH.sub.2 CONH.sub.2 or --CH.sub.2 COO-alkyl, A denotes a group of the formulae ##STR4## or --(CH.sub.2).sub.4 -- R.sub.6 denotes hydrogen, alkyl, hydroxyalkyl, alkoxyalkyl, aralkyl or optionally substituted phenyl, n denotes 1, 2 or 3 and X.sup.(-) denotes a halide, alkylsulfonate, alkylsulfate, alkylphenylsulfonate or phenylsulfonate ion. Preferred compounds of the formula 1 are those wherein R.sub.1 denotes hydrogen, alkyl or, conjointly with R.sub.2, a fused benzo ring, R.sub.2 denotes hydrogen, alkyl, alkoxy, halogen, cyano, carboalkoxy, dialkylcarbonamido, sulfo, alkylsulfonyl, alkyloxysulfonyl, sulfonamido or, conjointly with R.sub.3, a fused benzo ring, R.sub.3 has the same meaning as R.sub.2, R.sub.4 denotes hydrogen, alkyl or, conjointly with R.sub.3, a fused benzo ring, R.sub.5 denotes alkyl, hydroxyalkyl, alkoxyalkyl, optionally substituted aralkyl, cyanoethyl or a group of the formulae --CH.sub.2 CN, --CH.sub.2 CONH.sub.2 or --CH.sub.2 COO-alkyl, A denotes a group of the formulae ##STR5## or --(CH.sub.2).sub.4 -- R.sub.6 denotes hydrogen, alkyl, hydroxyalkyl, alkoxyalkyl, aralkyl or optionally substituted phenyl, n denotes 1, 2 or 3 and X.sup.(-) denotes a halide, alkylsulfonate, alkylsulfate, alkylphenylsulfonate or phenylsulfonate ion. Particularly preferred compounds are those of the formula (1) wherein R.sub.1 and R.sub.4 denote hydrogen, methyl, ethyl, methoxy or chlorine or R.sub.1 conjointly with R.sub.2 and/or R.sub.3 conjointly with R.sub.4 denote a fused benzo ring, R.sub.2 and R.sub.3 denote hydrogen, methyl, ethyl, chlorine, alkylsulfonyl, cyano, carboxyl, carboalkoxy or carbonamido, R.sub.5 denotes alkyl, hydroxyalkyl, benzyl which is optionally substituted by chlorine, methyl or methoxy, or a group of the formulae --CH.sub.2 CN, --CH.sub.2 CONH.sub.2 or --CH.sub.2 COO-alkyl, A denotes methylene, ethylene, trimethylene or tetramethylene, each of which can be substituted by alkyl, alkoxy, phenyl, cyanophenyl or chlorophenyl, and X.sup.(-) denotes a chloride, ethylsulfate, methylsulfate, methylsulfonate, tolylsulfonate or phenylsulfonate ion. Particularly preferred compounds are also those of the formula (1) wherein R.sub.1 and R.sub.4 denote hydrogen, R.sub.2 denotes hydrogen, alkyl, alkoxy or chlorine, R.sub.3 denotes hydrogen, alkyl, alkoxy, chlorine, methylsulfonyl, cyano or carboalkoxy, R.sub.5 denotes methyl, A denotes methylene, ethylene or propylene and X.sup.(-) denotes chloride, methylsulfate, ethylsulfate, methylsulfonate or p-tolylsulfonate. Particularly preferred compounds are also those of the formula (1) wherein R.sub.1 and R.sub.4 denote hydrogen, R.sub.2 denotes hydrogen, alkyl, alkoxy or chlorine, R.sub.3 denotes hydrogen, if R.sub.2 is other than hydrogen, and also denotes alkyl, chlorine, methoxy, ethoxy, methylsulfonyl, cyano or carboalkoxy, R.sub.5 denotes methyl, A denotes ethylene and X.sup.(-) denotes chloride, methylsulfate, methylsulfonate or tolylsulfonate. The alkyl and alkoxy groups indicated above and also other groups derived therefrom contain 1 to 4 C atoms in each case. Cycloalkyl preferably denotes cyclohexyl and aralkyl is preferably benzyl. The aralkyl group and also the phenyl group can optionally be substituted by halogen, alkyl or cyano. The substituents in the two benzimidazole rings can in each case be identical or different. The compounds of the formula (1) are prepared in a known manner by alkylating a compound of the formula (2) ##STR6## with a compound of the formula X--R.sub.5. This alkylation is preferably effected in an inert organic solvent, particularly in an aprotic, polar solvent, such as dimethylformamide, at temperatures of approx. 50.degree. to 150.degree. C. A further process for their preparation consists in cyclizing a compound of the formula (3) ##STR7## by heating at approx. 50.degree. to 150.degree. C. in an inert organic solvent, if appropriate with the addition of a catalyst. However, the compounds of the formula (1) can also be prepared by cyclizing a compound of the formula (4) ##STR8## wherein Y.sup.(-) denotes a colorless anion, by heating at approx. 50.degree. to 150.degree. C. in an inert organic solvent, if appropriate in the presence of a basic compound. The preparation of the compounds of the formula (1) can also be effected by coupling compounds of the formula (5) ##STR9## in the 2,2'-position in an oxidative manner. The benzimidazoles of the formula (2) which are used as starting compounds are obtained by reacting bisbenzimidazoles of the formula (6) ##STR10## with a compound Z-A-Z wherein Z represents a halogen atom. Examples of this are methylene halides, 1,2-dibromoethane, trimethylene bromide or 1,4-dibromobutane. The addition of a basic compound is advantageous in this reaction. The insertion of the bridge A can, however, also be effected by reacting the compounds of the formula (6) with an alkylene oxide. Another possible means of preparing the bis-benzimidazoles of the formula (2) consists in reacting a compound of the formula (7) ##STR11## with oxalic acid or an oxalic acid derivative such as, say, oxamide, dicyanogen, an oxalic acid diester or oxalyl chloride. The bisbenzimidazoles of the formula (2) can also be prepared by linking compounds of the formula (8) ##STR12## in the 2,2'-position in an oxidative manner in accordance with known processes (B. A. Tertov et al., TETRAHEDRON LETTERS 1968, 4,445). As a result of the processes used for their preparation, the bridge bisbenzimidazoles of the formula (2), and, accordingly, also the compounds (1) according to the invention, can in theory be obtained both in the symmetrical form and in the unsymmetrical form, that is to say the substituent R.sub.1 in one of the benzimidazole rings can be identical with either the substituent R.sub.1 or the substituent R.sub.4 in the other benzimidazole ring. Correspondingly, one substituent R.sub.2 can be identical with the other substituent R.sub.2 or with R.sub.3. From a purely theoretical point of view, therefore, it is possible for mixtures consisting of the symmetrical and the unsymmetrical compound to be formed. In practice, however, no supporting evidence could be discovered for such an assumption, since all the compounds of the formula (1) prepared have proved to be single substances as shown by chromatography. The bisbenzimidazoles of the formula (6) can be prepared analogously to the process described by S. Hunig. Ann. 765 (1972), 126, from phenylenediamines and oxalic acid derivatives, such as, say, oxamide, or oxalyl chloride is reacted with o-nitroaminobenzenes, the nitro group is then reduced and the imidazole rings are closed analogously to conventional processes. Another possible means of preparing, above all unsymmetrically substituted, bisbenzimidazoles of the formula (6) consists in reacting a derivative of benzimidazol-2-ylcarboxylic acid, such as, for example, the acid chloride, with suitable phenylenediamines or o-nitroaminobenzenes. The nitro group is then reduced to give the amino group before ring closure. The new compounds are used for brightening organic material, such as, say, cotton and above all synthetic fibers, for example fibers made from polyesters, such as polyterephthalic acid glycol esters, polyamides, such as polymers based on hexamethylenediamine adipate or caprolactam, cellulose esters, such as cellulose 21/2-acetate and cellulose triacetate, and especially polyacrylonitrile. The organic material can be brightened, for example, by incorporating into it small quantities of optical brighteners according to the invention, appropriately 0.001 to 1%, relative to the material to be brightened, if appropriate together with other substances, such as plasticizers, stabilizers or pigments. The brighteners can, for example, be incorporated into the plastics dissolved in plasticizers, such as dioctyl phthalate, or together with stabilizers, such as dibutyl-tin dilaurate or sodium pentaoctyl tripolyphosphate, or together with pigments, for example titanium dioxide. Depending on the nature of the material to be brightened, the brightener can also be dissolved in the monomers before polymerization, in the polymer composition or, together with the polymers, in a solvent. The material thus pre-treated is then brought into the desired final form by processes which are in themselves known, such as spinning and stretching. The brighteners can also be incorporated into finishes, for example into finishes for textile fibers, such as polyvinyl alcohol, or into resins or resin precondensates, such as, for example, methylol compounds of ethyleneurea, which are used for textile treatment. The compounds according to the invention are also suitable for brightening paper by surfacecoating. However, it is preferable to brighten colorless, high-molecular organic material in the form of fibers. For brightening these fiber materials it is advantageous to use an aqueous solution or dispersion of benzimidazoles, according to the invention, of the formula (1). In this case, the dispersion or solution of brightener preferably has a content of 0.005 to 0.5% of benzimidazole according to the invention, relative to the fiber material. In addition, the dispersion or solution can contain auxiliaries, such as dispersing agents, for example condensation products of fatty alcohols or alkylphenols having 10 to 18 carbon atoms, which contain 15 to 25 moles of ethylene oxide, or condensation products of alkylmonoamines or polyamines having 16 to 18 carbon atoms, which contain at least 10 moles of ethylene oxide, organic acids, such as formic acid, oxalic acid or acetic acid, detergents, swelling agents, such as dichlorobenzenes or trichlorobenzenes, wetting agents, such as sulfosuccinic acid alkyl esters, bleaching agents, such as sodium chlorite, peroxides or hydrosulfites, and also, if appropriate, brightening agents of the same or other classes, such as, for example, stilbene derivatives having an affinity for cellulose. The brightening of the fiber material with the aqueous liquor of brightener is effected either by the exhaustion process at temperatures of, preferably, 30.degree. to 150.degree. C., or by the padding process. In the latter case, the goods are impregnated with, for example, a 0.2 to 0.5% strength dispersion of brightener and the material being dyed is finished, for example, by a dry or moist heat treatment, for example by streaming at 2 atmospheres or, after drying has been carried out, by dry heating at 180.degree. to 220.degree. C. for a brief period, the fabric being thermofixed at the same time, if appropriate. The fiber material treated in this way is finally rinsed and dried. Colorless, high-molecular organic material which has been optically brightened in accordance with the invention, especially natural or synthetic fiber material which has been brightened by the exhaustion process, has an attractive, pure white appearance with a blue-violet to bluish-tinged fluorescence; material of this kind which has been dyed in light colors and whitened in accordance with the invention is distinguished by a pure color shade. Wash liquors containing benzimidazoles of the formula (1) impart, during washing, a brilliant appearance in daylight to the textile fibers treated in this way, for example synthetic polyamide, polyester and cellulose fibers, but particularly polyacrylonitrile fibers.
EXAMPLE 1: In order to prepare the quaternary compound of the formula ##STR13## 31.6 g of 1,1'-dimethylene-2,2'-bis-(5,5',6,6'-tetramethyl)-benzimidazole are suspended in 300 ml of dimethylformamide. After adding 10 ml of dimethyl sulfate, the mixture is heated for 1 hour at 80.degree. C. and then for 10 minutes at 120.degree. C., while stirring, in the course of which a clear solution is formed. Stirring is continued for 1 hour at 80.degree. C., the mixture is cooled to 5.degree. C. and the reaction product which has precipitated is isolated by filtration. The filter cake containing solvent is washed with toluene and is then dried in vacuo at 60.degree. C. Crude yield: 42.0 g, corresponding to 95% of theory. After recrystallization from methanol, the slightly yellowish compound melts at 346.degree.-350.degree. C., with decomposition. The compound dissolves both in water and in dimethylformamide to give a blue-violet fluorescence in daylight and is excellently suitable for brightening organic materials, in particular polyacrylonitrile fibers. The 1,1'-dimethylene-2,2'-bis-(5,5',6,6'-tetramethyl)-benzimidazole used as the starting material is prepared as follows: 11.6 g of 2,2'-bis-(5,5',6,6'-tetramethyl)-benzimidazole are suspended in 200 ml of dimethylformamide together with 13.8 g of potassium carbonate. After adding 4.3 ml of 1,2-dibromoethane the mixture is stirred for 8 hours at 80.degree. C. and then for 6 hours at 100.degree. C. The mixture is allowed to cool to room temperature and is filtered and the filter cake is first washed twice with DMF and is then washed with water. Crude yield after drying at 60.degree. C. in vacuo: 10.1 g. The compound can be recrystallized from glacial acetic acid and then exhibits correct values in elementary analysis. Melting point: 360.degree. C. The 2,2'-bis-(5,5',6,6'-tetramethyl)-benzimidazole used as the starting material is prepared as follows: 40.8 g of 4,5-dimethyl-1,2-diaminobenzene are suspended in 100 ml of glycol together with 13.2 g of oxamide. The mixture is heated to 180.degree. C. and is stirred at this temperature for 40 hours in a gentle stream of nitrogen, in the course of which a little water distils off. The mixture is then allowed to cool, diluted with 100 ml of ethanol and filtered and the filter cake is washed with ethanol. Drying in vacuo gives 31.2 g of 2,2'-bis-(5,5',6,6'-tetramethyl)benzimidazole, which can be purified further by recrystallization from dimethylformamide. Melting point 360.degree. C. EXAMPLE 2 In order to prepare the quaternary compound of the formula ##STR14## 31.6 g of 1,1'-dimethylene-2,2'-bis-(5,5',6,6'-tetramethyl)-benzimidazole are suspended in 300 ml of dimethylformamide. After adding 12 ml of diethyl sulfate the mixture is heated for 2 hours at 80.degree. C., while stirring, in the course of which a clear solution is formed. The mixture is cooled to room temperature and the product which has crystallized out is isolated by filtration. The filter cake is washed twice with a little methanol and is then dried in vacuo at 60.degree. C. Crude yield: 40.0 g, corresponding to 85% of theory. The compound dissolves both in water and in dimethylformamide to give a blue-violet fluorescence in daylight. EXAMPLE 3 The quaternary compound of the formula ##STR15## is prepared as follows: 3.3 g of 1,1'-trimethylene-2,2'-bis-(5,5',6,6'-tetramethyl)-benzimidazole are suspended in 35 ml of dimethylformamide. After warming to 100.degree. C., 1 ml of dimethyl sulfate is added and the mixture is stirred for 2 hours at 95.degree.-100.degree. C. A clear, yellowish solution is formed, from which the quaternary reaction product crystallizes out on cooling to room temperature. The product is filtered off and the filter cake is washed with toluene and dried at 60.degree. C. in vacuo. Crude yield: 3.6 g, corresponding to 79% of theory. In a very dilute solution in water or dimethylformamide, the compound, which has a slight yellow color, exhibits a reddish-tinged blue fluorescence in daylight. The 1,1'-trimethylene-2,2'-bis-(5,5',6,6'-tetramethyl)-benzimidazole used as the starting material is obtained as follows: 14.5 g of 2,2'-bis-(5,5',6,6'-tetramethyl)-benzimidazole are suspended in 250 ml of dimethylformamide together with 16.6 g of potassium carbonate. After adding 12.6 g of 1,3-dibromopropane, the mixture is stirred for 8 hours at 80.degree. to 85.degree. C. and then for a further 19 hours at 100.degree. C. It is cooled to room temperature and filtered and the material on the filter is washed with dimethylformamide and then with water until it is neutral and is dried at 60.degree. C. in vacuo. Crude yield: 5.1 g, corresponding to 31% of theory. The compound is crystallized from dimethylformamide and then exhibits correct values in elementary analysis. Melting point: 360.degree. C. The preparation of the 2,2'-bis-(5,5',6,6'-tetramethyl)-benzimidazole used as the starting material is described in Example 1. EXAMPLE 4 The quaternary compound of the formula ##STR16## is obtained in the following manner: 20 g of 1,1'-dimethylene-2,2'-bis-(5 or 6, 5' or 6'-dimethyl)-benzimidazole are suspended in 200 ml of dimethylformamide and 7 ml of dimethyl sulfate are added at 100.degree. C. A clear solution is formed, which is stirred for a further 12 hours at 95.degree.-100.degree. C. After cooling, the mixture is diluted with 500 ml of water and is filtered and the filtrate is clarified after being stirred with charcoal. The quaternary compound is precipitated by saturating the solution with sodium chloride and is filtered off and washed with saturated sodium chloride solution. Drying gives 18 g of a yellowish compound which dissolves in hot water to form a clear solution and contains 69% of the quaternary product (104) in addition to sodium chloride and water. The 1,1'-dimethylene-2,2'-bis-(5 or 6, 5' or 6'-dimethyl)-benzimidazole used as the starting material is prepared as follows: 13.1 g of 2,2'-bis-(5 or 6, 5' or 6'-dimethyl)-benzimidazole are suspended in 150 ml of dimethylformamide together with 17.3 g of potassium carbonate. After adding 5.4 ml of 1,2-dibromoethane the mixture is stirred for 5 hours at 100.degree. C. It is allowed to cool to room temperature and is filtered and the filter cake is washed twice with dimethylformamide and then with water until it is neutral. Crude yield after drying at 60.degree. C. in vacuo: 10.6 g. The compound can be recrystallized from ethylglycol and then exhibits correct values in elementary analysis. Melting point: 360.degree. C. The 2,2'-bis-(5 or 6, 5' or 6'-dimethyl)-benzimidazole used as the starting material is prepared as follows: 122.2 g of 3,4-diaminotoluene and 44 g of oxamide are suspended in 300 ml of glycol. The mixture is heated to an internal temperature of 195.degree.-200.degree. C. and is stirred for a further 45 hours at this temperature in a gentle stream of nitrogen. The mixture is allowed to cool to room temperature and is diluted with 300 ml of methanol and filtered and the filter cake is washed with methanol. Drying in vacuo gives 70.5 g of 2,2'-bis-(5 or 6, 5' or 6'-dimethyl)-benzimidazole, which can be purified by crystallization from dimethylformamide. Melting point: 360.degree. C. As a result of this reaction route, the positions 5 and 6 and 5' and 6', respectively, must be regarded as equivalent and it is not possible to state whether the methyl group is located in the 5-position or 5'-position or in the 6-position or 6'-position, respectively. The above method of representation with the curved bracket has therefore been chosen for the final compound. EXAMPLE 5 In order to synthesize the quaternary compound ##STR17## the following procedure is followed: 2.88 g of 1,1'-dimethylene-2,2'-bis-(5 or 6, 5' or 6'-dimethyl)-benzimidazole are suspended in 50 ml of dimethylformamide and 1.4 ml of diethyl sulfate are added at 80.degree. C. The reaction mixture is stirred for a further 5 hours at 80.degree. C. and is allowed to cool to room temperature and then added to a four-fold quantity of water. A small quantity of insoluble impurities is filtered off and approx. 20 g of sodium chloride are added to the filtrate. The product which has crystallized out is filtered off, washed with saturated sodium chloride solution and dried at 60.degree. C. in vacuo. This gives 2.3 g of a nearly colorless compound which dissolves in hot water to give a clear solution and which contains 60% of the quaternary product (105) in addition to sodium chloride and water. The preparation of the 1,1'-dimethylene-2,2'-bis-(5 or 6, 5' or 6'-dimethyl)-benzimidazole used as the starting material is described in the previous example. EXAMPLE 6 In order to prepare the quaternary compound of the formula ##STR18## 7.2 g of 3,3'-dimethylene-2,2'-bisnaphthimidazole are suspended in 300 ml of dimethylformamide. After adding 2 ml of dimethyl sulfate the mixture is stirred for 2 hours at 80.degree. C., in the course of which a clear solution is formed. The mixture is then cooled to 0.degree. C. and filtered and the filter cake is washed with toluene. Drying in vacuo gives 5.6 g of the desired compound, which can be recrystallized from dimethylformamide. The compound begins to sinter at 348.degree. C. and decomposes above 383.degree. C. When dissolved in dimethylformamide the compound exhibits a powerful blue fluorescence. The 1,1'-dimethylene-2,2'-bisnaphthimidazole used as the starting material is prepared as follows: 6.7 g of 2,2'-bisnaphthimidazole in 100 ml of dimethylformamide are stirred with 7.0 g of potassium borate and 2.2 ml of 1,2-dibromoethane for 1 hour at 80.degree. C. The mixture is then cooled to 0.degree. C. and the reaction product is filtered off. The filter cake is washed with dimethylformamide, methanol and water until it is free from salts and is then recrystallized from dimethylformamide. Yield: 3.4 g. The crude product exhibits correct values in elementary analysis and melts above 360.degree. C. The 2,2'-bisnaphthimidazole used as the starting material is prepared as follows: 58 g of 1,2-diaminonaphthalene dihydrochloride, 31.8 g of sodium carbonate and 13.2 g of oxamide are suspended in 100 ml of glycol. The mixture is heated under reflux for 50 hours while stirring and is then allowed to cool, diluted with 100 ml of ethanol and filtered. The filter cake is washed with water, until it is free from salts, and can be purified further by extraction by boiling with glacial acetic acid. Melting point above 360.degree. C. EXAMPLE 7 In order to prepare the quaternary compound of the formula ##STR19## 3.2 g of 1,1'-dimethylene-2,2'-bis-(5 or 6, 5' or 6'-dimethoxy)-benzimidazole are suspended in 32 ml of dimethylformamide and the suspension is warmed to 90.degree. C. 1 ml of dimethyl sulfate is added at this temperature and the mixture is kept at this temperature for 3 hours, while stirring. The mixture is cooled to room temperature, 60 ml of water are added, the mixture is filtered and 10 g of sodium chloride are added to the filtrate. The product which has precipitated is filtered off after stirring for a short further period and is rinsed with saturated sodium chloride solution and dried. Crude yield: 5.45 g, containing 34% of sodium chloride, corresponding to 97% of theory. The compound dissolves in water and dimethylformamide to give a blue fluorescence. EXAMPLE 8 In order to obtain the following compound ##STR20## 3.2 g of 1,1'-dimethylene-2,2'-bis-(5 or 6, 5' or 6'-dimethoxy)-benzimidazole are suspended in 25 ml of dimethylformamide, 1.3 ml of diethyl sulfate are added and the mixture is stirred for 6 hours at 100.degree. C. 50 ml of water are then added, an insoluble residue is filtered off and the filtrate is allowed to cool. Salting out is effected by means of 8 g of sodium chloride and the precipitate which is formed is filtered off and rinsed with saturated sodium chloride solution. Drying gives 4.5 g of a slightly yellow powder containing 32.3% of sodium chloride. Crude yield: 79.2% of theory. The compound dissolves in water and dimethylformamide to give a greenish-tinged blue fluorescence. The 1,1'-dimethylene-2,2'-bis-(5 or 6, 5' or 6'-dimethoxy)-benzimidazole required as the starting material is obtained as follows: 14.7 g of 2,2'-bis-(5 or 6, 5' or 6'-dimethoxy)-benzimidazole are suspended in 100 ml of dimethylformamide together with 16.6 g of potassium carbonate. After adding 5.5 ml of 1,2-dibromoethane, the mixture is stirred at 100.degree. C. for 12 hours under nitrogen. After cooling to room temperature, the precipitate which has been deposited is filtered off and the material on the filter is washed with water until it is neutral. Crude yield: 9.25 g, corresponding to 57.7% of theory. After purification via the hydrochloride, the product has a melting point of 319.degree. to 322.degree. C. In order to prepare the 2,2'-bis-(5 or 6, 5' or 6'-dimethoxy)-benzimidazole, 106 g of sodium carbonate are added to 211 g of the dihydrochloride of 3,4-diaminoanisole in 600 ml of glycol and, after adding 44 g of oxamide, the mixture is heated at the boil for 72 hours. The dark reaction mixture is cooled to room temperature and the precipitate is filtered off and washed with 300 ml of methanol and a large amount of hot water. Crude yield: 80 g, corresponding to 54.4% of theory. After repeated crystallization from glacial acetic acid and trichlorobenzene, the product has a melting point of 322.degree. to 324.degree. C. EXAMPLE 9 The following compound ##STR21## is prepared by stirring 2.5 g of 1,1'-trimethylene-2,2'-bis-(5 or 6, 5' or 6'-dimethoxy)-benzimidazole in 30 ml of dimethylformamide with 0.75 ml of dimethyl sulfate for 8 hours at 100.degree. C. After cooling, the reaction mixture is diluted with 50 ml of water and is filtered and the product is salted out by means of 7 g of sodium chloride. The product which has been precipitated is isolated and washed with saturated sodium chloride solution. Crude yield: 2.9 g, containing 30% of sodium chloride, corresponding to 70.5% of theory. In water and dimethylformamide the compound exhibits a blue fluorescence in daylight. The 1,1'-trimethylene-2,2'-bis-(5 or 6, 5' or 6'-dimethoxy)-benzimidazole required as the starting material is obtained by the following route: 14.7 g of 2,2'-bis-(5 or 6, 5' or 6'-dimethoxy)-benzimidazole are suspended in 100 ml of dimethylformamide and, after adding 16.6 g of potassium carbonate and 7.6 ml of 1,3-dibromopropane, the mixture is stirred for 6 hours at 100.degree. C. under nitrogen. It is then cooled to room temperature and filtered and 150 ml of 2 N hydrochloric acid are added to the filtrate. The mixture is heated to the boil and the hydrochloride is allowed to crystallize out while cooling. The free bridged bis-benzimidazole compound is obtained by redissolving the product in water and adding sodium carbonate solution until a slightly alkaline reaction is obtained. Yield: 5.1 g, corresponding to 30.5% of theory. Melting point: 282.degree.-285.degree. C. EXAMPLE 10 In order to prepare the unsymmetrically substituted compound ##STR22## 1.07 g of 1-methyl-2,2'-bis-(5-methylsulfonyl, 5' or 6'-methoxy)-benzimidazole in a mixture of 20 ml of dimethylformamide and 10 ml of 1,2-dibromoethane are heated at 100.degree. C. for 10 hours with the addition of 0.6 g of potassium carbonate. The precipitate which has formed is filtered off at room temperature and washed with acetone. After crystallization from water, 0.59 g of a yellow powder with a melting point of 263.degree.-266.degree. C. are obtained, corresponding to a yield of 42.5% of theory. When dissolved in dimethylformamide, this compound exhibits a powerful blue fluorescence in daylight. The 1-methyl-2,2'-bis-(5-methylsulfonyl, 5' or 6'-methoxy)-benzimidazole required as the starting material is prepared as follows: 10.17 g of N-methyl-5-methylsulfonylbenzimidazole-2-carboxylic acid are suspended in 50 ml of phosphorus oxychloride, while cooling, 9.16 g of phosphorus pentachloride are added and the mixture is heated to the boil. It is boiled under reflux for 41/2 hours, while stirring, and the phosphorus oxychloride is then distilled off in vacuo. The residue is stirred with 300 ml of chlorobenzene and is filtered off and washed with 35 ml of chlorobenzene. The acid chloride thus obtained is suspended in 30 ml of chlorobenzene, 8.4 g of 3-nitro-4-aminoanisole are added and 12.8 g of N,N-dimethylaniline are added dropwise, while stirring. The mixture is then heated to 60.degree. C. and is stirred for 3 hours at this temperature. After cooling, the mixture is filtered and the material on the filter is washed with methanol and water until it is free from chloride ions. Drying gives 11.8 g of the acylamino compound ##STR23## with a melting point of 253.degree.-257.degree. C., corresponding to 73% of theory. 11.23 g of this acylamino compound in 150 ml of dimethylformamide are hydrogenated at room temperature under a pressure of 100 bars in the presence of 1.5 g of Raney nickel. After the catalyst has been filtered off, the solvent is evaporated off and the residue is induced to crystallize by treatment with methanol. Yield: 7.96 g of the compound of the following formula ##STR24## with a melting point of 234.degree.-241.degree. C., corresponding to 77% of theory. In order to close the benzimidazole ring, 7.96 g of this compound in 40 ml of glacial acetic acid are boiled under reflux for 21/2 hours. The reaction mixture is diluted with 40 ml of water and the product is filtered off at room temperature and washed with water. Crude yield: 6.65 g of 1-methyl-2,2'-bis-(5-methylsulfonyl, 5' or 6'-methoxy)-benzimidazole, corresponding to 83.6% of theory. After crystallization from o-dichlorobenzene, the compound of the formula ##STR25## has a melting point of 282.degree.-284.degree. C. EXAMPLE 11: In order to prepare the unsymmetrically substituted compound ##STR26## 1.39 g of 1-methyl-2,2'-bis-(5' or 6'-methoxy)-benzimidazole are dissolved in 15 ml of dimethylformamide and 0.9 ml of 1,2-dibromoethane and 0.7 g of potassium carbonate are added. The mixture is stirred at 100.degree. C. for 6 hours, cooled to room temperature and diluted with 50 ml of toluene. The reaction product which has precipitated is filtered off and washed with toluene. After crystallization from 70 ml of water, to which charcoal is added, 1.21 g of a yellow powder with a melting point of 278.degree.-285.degree. C., with decomposition, are obtained, corresponding to a yield of 63% of theory. When dissolved in dimethylformamide, the compound thus obtained exhibits a greenish-tinged blue fluorescent color in daylight. The 1-methyl-2,2'-bis-(5' or 6'-methoxy)-benzimidazole required as the starting material is obtained by the following route: 14.0 g of N-methylbenzimidazole-2-carboxylic acid are introduced into 100 ml of phosphorus oxychloride at a temperature below 30.degree. C., with slight cooling, 18.3 g of phosphorus pentachloride are added and the mixture is stirred at room temperature for 20 hours. Volatile matter is removed in vacuo at 40.degree.-50.degree. C. and the residue is stirred with 60 ml of toluene, filtered off and washed with toluene. The acid chloride thus obtained is introduced into 70 ml of toluene, 16.8 g of 3-nitro-4-aminoanisole are added and 25.6 g of N,N-dimethylaniline are added dropwise while cooling (30.degree. C.). The mixture is then stirred for 6 hours at 60.degree. C., the solvent is removed in vacuo and the residue is stirred with methanol and filtered off. It is washed with methanol and water and dried at 60.degree. C. in vacuo. 20.3 g of the acylamino compound ##STR27## with a melting point of 209.degree.-211.degree. C. are obtained, corresponding to 77% of theory. The catalytic reduction of this acylamino compound is effected in the manner indicated in Example 10. Yield: 87% of theory, melting point 186.degree.-189.degree. C. ##STR28## The closure of the benzimidazole ring was also carried out by the procedure indicated in Example 10. 1-Methyl-2,2'-bis-(5' or 6'-methoxy)-benzimidazole was obtained in a crude yield of 96% and, after crystallization from toluene, had a melting point of 245.degree.-247.degree. C. ##STR29## EXAMPLE 12: The compound ##STR30## which has a melting point of 326.degree. C., with decomposition, can be prepared analogously to the preceding examples from the following precursors: ##STR31## Greenish powder of melting point 250.degree.-251.degree. C., with decomposition. ##STR32## Olive-colored powder of melting point 224.degree.-225.degree. C., with decomposition. ##STR33## Pale yellow compound with a melting point of 296.5.degree.-298.5.degree. C. (from o-dichlorobenzene). EXAMPLE 13: 0.24 g of sodium chlorite, 0.1 g of a commercially available bleaching auxiliary and 0.3 ml of 2 N acetic acid are dissolved at 60.degree. C. in 200 ml of water. A solution of the optical brightener of the formula (101) is prepared by dissolving 0.02 g in 1 ml of DMF. This solution is poured into the aqueous liquor and the pH value is adjusted to 3.5 by dropwise addition of 10% strength acetic acid. A polyacrylonitrile fabric weighing 5 g is introduced at 60.degree. C. into this aqueous liquor containing the brightener. Preliminary bleaching is first carried out for half an hour at 80.degree. C. and dyeing is then carried out for half an hour at 100.degree. C. The fabric is rinsed with hot and cold water and is dried. The fiber material thus treated exhibits an attractive, white appearance with a violet tint. A similar effect is achived if the process is carried out in the absence of sodium chlorite and the bleaching auxiliary and if the pH value of the liquor is adjusted to 4 with 10% strength acetic acid. Similar effects are obtained on the fiber material mentioned if a brightener of the formulae (102), (103), (104) or (105) is used instead of the brightener described above, the procedure being in other respects as indicated in the example. EXAMPLE 14: 0.12 ml of 85% strength formic acid are added to 100 ml of water. A solution of the optical brightener of the formula (101) is prepared by dissolving 1 g in 1,000 ml of water. 1.5 ml of this stock solution are added to the solution described above. The liquor thus obtained is warmed to 60.degree. C. and a polyacrylonitrile fabric weighing 3 g is introduced into this liquor. The temperature is increased in the course of 10 to 15 minutes to 95.degree. to 98.degree. C. and the bath is kept at this temperature for one hour. The fabric is then rinsed for 2 minutes in cold, running water and is then dried for 20 minutes at 60.degree. C. The fabric thus treated exhibits a brilliant, white appearance. Similar results are obtained if the procedure followed is as indicated in the above example, but using the compound of the formulae (102), (103), (104) or (105) instead of the brightener mentioned in the above example. EXAMPLE 15: If the procedure followed is as in Example 7, but employing, as the brightener, the compound ##STR34## that is to say the compound analogous to (101) without an ethylene bridge, the textile material thus treated exhibits no brightening at all, which shows that only when the ethylene group is introduced does brightening action result.
Claims
1. A compound of the formula ##STR35## wherein R.sub.1 is hydrogen, halogen, alkyl, alkoxy or, conjointly with R.sub.2, a fused benzo ring, R.sub.2 is hydrogen, alkyl, alkoxy, halogen, phenyl, cyano, carboalkoxy, carboxyl, carbamoyl dialkylcarbamoyl, alkylsulfonyl, alkyloxysulfonyl, sulfonamido, or dialkylsulfonamido or, conjointly with R.sub.3, a fused benzo ring, R.sub.3 has the same meaning as R.sub.2, R.sub.4 is hydrogen, alkyl, alkoxy, halogen or, conjointly with R.sub.3, a fused benzo ring, R.sub.5 is alkyl, hydroxyalkyl, benzyl which may be substituted by chlorine, methyl, or methoxy, cyanoethyl, cycloalkyl or a group of the formulae --CH.sub.2 CN, --CH.sub.2 CONH.sub.2 or --CH.sub.2 COO-alkyl, A denotes a group of the formulae ##STR36## or
--(CH.sub.2).sub.4-
R.sub.6 is hydrogen, alkyl, hydroxyalkyl, alkoxyalkyl, benzyl or optionally substituted phenyl wherein the substitutents are selected from the group consisting of halogen, alkyl or cyano, n is 1, 2 or 3 and X.sup.(-) is a halide, alkylsulfonate, alkylsulfate, or phenylsulfonate ion and wherein said alkyl and alkoxy groups consist of 1-4 carbon atoms.
2. A compound of the formula ##STR37## wherein R.sub.1 is hydrogen, alkyl or, conjointly with R.sub.2, a fused benzo ring, R.sub.2 is hydrogen, alkyl, alkoxy, halogen, cyano, carboalkoxy, dialkyl carbamoyl, alkylsulfonyl, alkoxysulfonyl, sulfonamido or, conjointly with R.sub.3, a fused benzo ring, R.sub.3 has the same meaning as R.sub.2, R.sub.4 is hydrogen, alkyl or, conjointly with R.sub.3, a fused benzo ring, R.sub.5 is alkyl, hydroxyalkyl, benzyl which may be substituted by chlorine, methyl, or methoxy, cyanoethyl or a group of the formulae --CH.sub.2 CN, --CH.sub.2 CONH.sub.2 or --CH.sub.2 COO-alkyl, A is a group of the formulae ##STR38## or
--(CH.sub.2).sub.4-
R.sub.6 is hydrogen, alkyl, hydroxyalkyl, benzyl or optionally substituted phenyl wherein the substitutents are selected from the group consisting of halogen, alkyl or cyano, n is 1, 2 or 3 and X.sup.(-) is a halide, alkylsulfonate, alkylsulfate, or phenylsulfonate ion and wherein said alkyl and alkoxy groups consist of 1-4 carbon atoms.
3. A compound of the formula ##STR39## wherein R.sub.1 and R.sub.4 are hydrogen, methyl, ethyl, methoxy or chlorine or R.sub.1 conjointly with R.sub.2 and/or R.sub.3 conjointly with R.sub.4 is a fused benzo ring, R.sub.2 and R.sub.3 are hydrogen, methyl, ethyl, chlorine, alkylsulfonyl, cyano, carboxyl, carboalkoxy or carbamoyl, R.sub.5 denotes alkyl, hydroxyalkyl, benzyl which is optionally substituted by chlorine, methyl or methoxy, or a group of the formulae --CH.sub.2 CN, --CH.sub.2 CONH.sub.2 or --CH.sub.2 COOO-alkyl, A is methylene, ethylene, trimethylene or tetramethylene, each of which can be substituted by alkyl, alkoxy, phenyl, cyanophenyl or chlorophenyl, and X.sup.(-) denotes a chloride, ethylsulfate, methylsulfate, methylsulfonate, tolylsulfonate or phenylsulfonate ion and wherein said alkyl and alkoxy groups consist of 1-4 carbon atoms.
4. A compound of the formula ##STR40## wherein R.sub.1 and R.sub.4 are hydrogen, R.sub.2 is hydrogen, alkyl, alkoxy or chlorine, R.sub.3 is hydrogen, alkyl, alkoxy, chlorine, methylsulfonyl, cyano or carboalkoxy, R.sub.5 is methyl, A is methylene, ethylene or propylene and X is chloride, methylsulfate, ethylsulfate,methylsulfonate or p-toyl-sulfonate and wherein said alkyl and alkoxy groups consist of 1-4 carbon atoms.
5. A compound of the formula ##STR41## wherein R.sub.1 and R.sub.4 are hydrogen, R.sub.2 is hydrogen, alkyl, alkoxy or chlorine, R.sub.3 is hydrogen, if R.sub.2 is other than hydrogen, and also alkyl, chlorine, methoxy, ethoxy methylsulfonyl, cyano or carboalkoxy, R.sub.5 is methyl, A is ethylene and X.sup.(-) is chloride, methylsulfate, methylsulfonate or tolylsulfonate and wherein said alkyl and alkoxy groups consist of 1-4 carbon atoms.