Introduction

The fluorescence characteristics of the dyes can be observed based on their ability to absorb electromagnetic radiation and emit the absorbed energy. The emission of the dye in powder form is one of the interesting features of organic dyes for a wide range of applications [1,2,3,4,5,6,7,8]. The use of fluorescent dyes in textile dyeing can brighten the color and create textile products that are highly visible when using certain materials [6, 9, 10].

The impressive optical effect of fluorescence is of interest not only for marking inks but also for safety wear and signage, as well as for security printing and leak proofing. The chemistry and physics of fluorescent dyes are well developed, with many applications in an expanding field such as optical whitening agents for paper, textiles and various other white or bright materials [7, 11,12,13,14], laser dyes and organic light emitting diodes (OLEDs) [15, 16]. The application of fluorescent dyes in health-related field is considered one of the most important functional applications and researchers pay more attention to these topics. Since many applications in vitro or in vivo cannot be seen directly and must be viewed with the use of imaging equipment, the fluorescence change of some organic dyes could be very important techniques for this kind of application [17]. One of the biggest public health concerns now is bacteria, which has been linked to many hospital-acquired diseases [18]. There was a major advancement in biochemistry thanks to the green fluorescent protein. The understanding of the interaction of light with matter is advantageous for applications and future advances of fluorescent materials. Consequently, in both science and technology, the interaction of light with matter is becoming increasingly important. Aggregation-induced emission (AIE) is one of the interesting phenomena that occur when molecules aggregate and emit more fluorescence than when they are isolated [19,20,21,22,23,24,25,26]. Additionally, the AIE effect allows most fluorophores to overcome limits created by ACQ (aggregation-caused quenching) that takes place due to extremely concentrated liquids or solid states, mainly aqueous solutions. Moreover, the ACQ impact can be effectively reduced by the AIE behavior, which opens the door for the use of organic emitters in bioimaging or optoelectronic devices [27, 28]. Fascinatingly, the aggregation induced emission (AIE) phenomena are ultimately generated due to the limited intramolecular motions [29, 30].

The phenothiazine unit is a nonplanar butterfly-shaped tricyclic heteroarene that is rich in electrons due to the presence of sulfur and nitrogen atoms. Additionally, phenothiazine has a significant electron-donating ability, so it was frequently utilized as an active component in push-pull chromophores. According to earlier research, 3-position mono-substituted D-A phenothiazine derivatives have outstanding force response [31]. . Phenothiazine based fluorescence dyes have been used as efficient materials in many applications such as colorimetric chemosensors and fluorescence probes for monitoring ions [32], in drug delivery applications, dye sensitized solar cells (DSSCs) [33,34,35,36,37,38], pharmaceuticals and electrochemistry [39, 40].

Sulfa drugs and their metal complexes have a wide range of uses, including as diuretics, glaucoma treatments, and epilepsy medications. Sulfa-drugs have significant biological activity; for instance, their mode of action is based on the antagonistic competition between PABA (p-aminobenzoic acid) and sulfanilamide [41,42,43].

Microorganisms have a greater proclivity for causing damage to textile materials including microbes, algae, fungi, viruses, and bacteria. In this case, the fabrics act as active agents in the spreading of microbes and as a medium for microbial growth as well [44, 45]. Such proclivity generally causes stains, color fading, deterioration of the product, skin infection, allergic diseases and an annoying odor on the wearer. Hence, due to the high efficiency of sulfa-drugs against bacteria and the high emission characteristics of phenothiazine derivatives this work presents a new analogue of fluorescence phenothiazine bearing sulphadiazine and sulphathiazole-based dyes. The spectral properties and solvatochromic effect on absorption and emission spectra were investigated, aggregation-induced emission, antibacterial efficiency against gram positive and gram-negative bacteria as well as the dyeing applications on polyester fabrics as highly emissive dyes were studied.

Experimental

Materials and Apparatus

Phenothiazine (98%), 1-bromo hexane, sulfathiazole and sulfadiazine were purchased from Sigma-Aldrich Germany. The solvents used in this study were analytical grade and used without any further purifications such as DMF, acetone, ethanol, methanol, 1,4-dioxane, acetonitrile and n-hexane. Thin layer chromatography (TLC) (Merck, DC Kiesel gel 60 F254) plates were used for monitoring the consumptions of reactant and the forming of the new product. NMR spectra was recorded on a Bruker DMX-400 spectrometer operating at 400, 101 MHz using DMSO-d6 as solvent. LC/MS with ESI electrospray ionization source (positive ion mode) was investigated using a XEVO TQD triple quadrupole mass spectrometer. UV/vis absorption spectra were measured on a Shimadzu UV spectrophotometer and emission spectra was investigated using a JASCO fluorimeter (8300).

Synthetic Routes of Fluorescent Dyes PTZ1 and PTZ2

Synthesis of 10-hexylphenothiazine (Ia)

In 250 mL two-necked round flask connected with condenser phenothiazine (47.6 mmol, 11.64 g), potassium hydroxide (142.8 mmol, 8 g) was added and stirred with 150 mL of N-Methyl-2-pyrrolidone (NMP). Then hexyl iodide (71.6 mmol, 15.2 gm) and 1 gm of potassium iodide were added to the mixture and the mixture was allowed to stirring for further 15 h at room temperature. Then the product was extracted using ethyl acetate as a colorless liquid with 90% yield. The characterization data such as NMR and mass spectra was agree with the previously published procedure [46].

Synthesis of 10-hexyl-10 H-phenothiazine-3-carbaldehyde (Ib)

10-hexyl-10 H-phenothiazine-3-carbaldehyde (Ib) was prepared by the same procedure described previously [47,48,49,50]. In three-nicked round flask connected with dropping funnel, condenser and thermometer, N, N-dimethylformamide (DMF) (100 mmol, 7.3 g) was add and cooled down in ice bath at 0 °C, phosphorus oxychloride (200 mmol, 30.6 g) was added dropwise during 1 h and the solution was allowed to warm to room temperature. Then, a solution of 1a (20 mmol, 5.7 g) in dichloromethane (50 mL) was added. The mixture was allowed to heat up to 80 °C and stirred for a further 12 h. The reaction mixture was added to 300 mL of ice water and stirred for 5 mints then neutralized with sodium carbonate to pH 6–7 and continued stirring for further 30 min and the product Ib was extracted by ethyl acetate. The formed dark extracted product was purified by column chromatography on silica gel using n-hexane: acetone (10:1) as eluent to obtain (5.0 g, yield: 80%).

Mass: m/z (%): 312.25 (100%).

Synthesis of 4-(((10-hexyl-10 H-phenothiazin-3-yl)Methylene)Amino)-N-(Pyrimidin-2-yl)Benzenesulfonamide (PTZ-1)

1.61 mmol, 0.5 g of compound (Ib), 1.61 mmol, 0.401 g of sulfadiazine and 50 mL of methanol were added to 100 ml round flask. The mixture was refluxed for 35 h with vigorous stirring with addition of catalytic amount (3–5 drops) of acetic acid. Then the mixture was cooled down and the yellow precipitate was collected by filtration and washed twice with ethanol and water then dried in oven at 60 °C forming 0.55 g of PTZ-1 (dye 1), 58% yield.

Anal. calcd (%) for C29H29N5O2S2: C, 64.06; H, 5.38; N, 12.88; S, 11.79;

Found

C, 64.35; H, 5.42; N, 12.92; O, 5.92; S, 11.55.

Mass: m/z (%): 544.18 (100%).

1H-NMR (400 MHz, DMSO-d 6, δ ppm)

0.79 (d, J = 5.8 Hz, 3 H), 1.21 (d, J = 2.0 Hz, 4 H), 1.36 (d, J = 4.9 Hz, 4 H), 3.89 (d, J = 6.0 Hz, 2 H), 6.95 (dd, J = 7.8, 2.2 Hz, 1 H), 7.04 (d, J = 7.3 Hz, 2 H), 7.16–7.06 (m, 2 H), 7.19 (dd, J = 7.7, 2.1 Hz, 1 H), 7.31 (t, J = 6.4 Hz, 2 H), 7.63 (d, J = 4.4 Hz, 1 H), 7.75–7.67 (m, 1 H), 7.96 (t, J = 6.3 Hz, 2 H), 8.45 (d, J = 5.9 Hz, 1 H), 8.49 (dd, J = 5.6, 5.0 Hz, 2 H), 11.75 (s, 1 H).

13C-NMR (126 MHz, DMSO-d 6, δ ppm)

13.14, 22.09, 26.13, 27.03, 31.35, 48.09, 113.89, 115.73, 116.10, 118.09, 121.00, 123.08, 124.97, 125.87, 126.11, 127.57, 128.01, 128.29, 128.39, 130.11, 131.68, 143.15, 144.08, 150.60, 152.07, 155.15, 161.59, 191.11.

Synthesis of 4-(((10-hexyl-10 H-phenothiazin-3-yl)Methylene)Amino)-N-(Thiazol-2-yl)Benzenesulfonamide (PTZ-2)

1.61 mmol, 0.5 g of compound (Ib), 1.61 mmol, 0.409 g of sulfathiazole and 50 mL of methanol were added to 100 ml round flask. The mixture was refluxed for 35 h with vigorous stirring with addition of catalytic amount (3–5 drops) of acetic acid. Then the mixture was cooled down and the yellow precipitate was collected by filtration and washed twice with ethanol and water then dried in oven at 60 °C forming 0.57 g of PTZ-2 (dye 2), 65% yield.

Anal. calcd (%) for C28H28N4O2S3: C, 61.29; H, 5.14; N, 10.21; S, 17.53;

Found

C, 61.52; H, 5.12; N, 10.29; S, 17.62.

Mass: m/z (%): 549.14.

1H NMR (400 MHz, DMSO-d 6, δ ppm)

0.78 (t, J = 6.6 Hz, 3 H), 1.31–1.14 (m, 4 H), 1.36 (d, J = 6.4 Hz, 4 H), 3.89 (t, J = 6.8 Hz, 2 H), 6.80 (d, J = 4.6 Hz, 1 H), 6.94 (t, J = 7.4 Hz, 1 H), 7.02 (d, J = 8.1 Hz, 1 H), 7.09 (d, J = 8.6 Hz, 1 H), 7.12 (d, J = 7.6 Hz, 1 H), 7.23 (d, J = 4.6 Hz, 1 H), 7.21–7.15 (m, 1 H), 7.28 (d, J = 8.5 Hz, 2 H), 7.63 (d, J = 1.6 Hz, 1 H), 7.70 (dd, J = 8.5, 1.6 Hz, 1 H), 7.78 (d, J = 8.5 Hz, 2 H), 8.44 (s, 1 H), 12.69 (s, 1 H).

13C NMR (126 MHz, DMSO-d 6, δ, ppm)

14.32, 22.54, 26.20, 26.62, 31.28, 47.52, 113.00, 116.08, 117.07, 121.77, 123.13, 124.11, 124.18, 127.64, 127.78, 128.26, 128.29, 128.47, 130.65, 131.38, 143.56, 144.09, 150.62, 152.77, 155.25, 161.52, 191.05.

Spectral Measurements

Absorption and emission spectra were measured for the prepared dyes (PTZ-1 and PTZ-2) in solution using a quartz cuvette with 1 cm path length. The solution was prepared by dissolving 20 µmol of dye in aprotic polar and non-polar solvents and absorption spectra were recorded using spectrophotometer. The relative fluorescence quantum yield of PTZ-1 and PTZ-2 was determined in different polar and nonpolar solvents using anthracene in ethanol with a concentration of 10− 5 mol/L and a quantum yield (Φs = 0.27) as the reference compound. The fluorescence quantum yield was calculated according to Eq. 1:

$${\phi _{\text{x}}} = \frac{{{{\text{A}}_{\text{s}}} \times {\text{}}{{\text{F}}_{\text{x}}} \times {\text{}}\eta _{\text{x}}^{\text{2}} \times {\text{}}{\phi _{\text{s}}}}}{{{{\text{A}}_{\text{x}}} \times {\text{}}{{\text{F}}_{\text{s}}} \times {\text{}}\eta _{\text{s}}^{\text{2}}}}$$
(1)

Where, As and Ax are the absorbance at the excitation wavelength of the standard and the sample of unknown, respectively. Fs and Fx are the areas under the fluorescence curve of the reference and the sample of unknown, respectively. ηs and ηx are the refractive indices of the standard and the sample of unknown, respectively [51].

Aggregation-induced emission (AIE) spectra were recorded at a range of water to dioxane concentrations (0–90% water) and the effect of sodium chloride (NaCl) was carried out using a certain concentrations from 0.01 to 1%, which prepared by dissolving NaCl (1 g/10 mL of H2O), the solution was diluted and utilized in all the experiments with a consistent volume of 1 mL in 10 mL of dioxane. The emission spectra were investigated in solution and in powder form using a special unit for powder holder and the effect of polarity of the solvents was studied in the case of solutions.

Antibacterial Investigation

A volume of 2 mL of DMSO was used to dissolve 5 mg of each sample. The test strain bacteria utilized were Staphylococcus aureus ATCC 6538-P (G + ve), Escherichia coli ATCC 25,933 (G-ve), and Candida albicans ATCC 10,231 (yeast).

The antimicrobial activity of the prepared dyes PTZ-1 and PTZ-2 was assessed by the cup agar diffusion procedure. Bacterial and yeast test microbes were inoculated on nutrient agar medium plates seeded with 0.1 mL of 105-106 cells/mL while the fungal test strain was cultivated on plates with potato dextrose agar medium that seeded with 0.1 mL (106 cells/mL) of the fungal inoculum. 100 µl from each sample were distributed in holes developed in each inoculated plate. The plates were kept at low temperature (4 °C) for 2–4 h to allow maximum diffusion. The plates were then incubated at 37 °C for 24 h for bacteria and at 30 °C for 48 h for the fungus in upright position to allow maximum growth of the organisms. The antimicrobial activity of the test agent was measured by detecting the diameter of the inhibition zone expressed in millimeters (mm). The experiment was carried out multiple time, and the readings were recorded.

The antibacterial behavior of the dyed fabrics was determined by measuring colony forming units (CFU). The dyed polyester fabrics with dyes PTZ-1 and PTZ-2 were evaluated for their antibacterial activities using (CFU) procedure. The test bacterial strains icluded Staphylococcus aureus ATCC 6538-P (G + ve bacterium) and Escherichia coli ATCC 25,933 (G-ve bacterium). Bacterial stocks (100 µl of stock with a CFU value of approximately 108) were inoculated into a 20 mL of freshly prepared liquid nutrient broth containing 5 g/L peptone and 3 g/L beef extract at pH 6.8 in 100 mL volume of Erlenmeyer flasks and incubated for 24 h. Fabrics each of about 250 mg were added to the bacterial inoculated medium in 100 mL conical flasks each has 10 ml culture medium and inoculated by 20 µL of bacterial inoculums leaving the control (inoculated flasks without samples). After 24 h incubation at 37 °C, a serial dilution from each sample-containing culture and the controls has been done (10-1-10-4). The microbial inhibition was determined by counting the colony forming units (CFU) by inoculating petri-dishes containing solidified nutrient agar medium with 50 µL from each dilution and calculating the reduction growth rate (R) for treated samples in relation to control (untreated) according to the Eq. 2.

$${\text{R}}\left( {\text{\% }} \right) = {\text{B}} - \frac{{\text{A}}}{{\text{B}}} \times 100$$
(2)

Where A is CFU/mL for treated sample after 16 h incubation and B is CFU/mL for untreated sample after the same period of incubation time [52]. The optical density of the incubated liquid culture medium was recorded at 600 nm. The greater the growth, the higher the turbidity, and the optical density figure was therefore directly proportional to the number of bacteria in the medium.

Dyeing Application of the Prepared Dyes on Polyester Fabrics

The dye dispersion was initially prepared by well milling the dye powder and the required amount of the dye was mixed with anionic dispersing agent (Sera Gal P-LP; DyStar, Egypt) in a 1:1 ratio with 0.5 mL of N,N-dimethylformamide. The resulting mixture was used and mixed with 2 mL of water. This mixture was added to the dyebath.

Dyeing Procedure

The previously prepared dye dispersions PTZ-1 and PTZ-2 with varying dye concentrations (0.5, 1, 2, and 3% omf) were used to carry out the dyeing operation. The bath’s pH was adjusted to 4–5. The polyester fabrics were dyed by increasing the temperature to 130 °C at a rate of 2.5 °C per minute and the dyeing process was continuous for 60 mints. The samples that had been dyed were then taken out, thoroughly rinsed with water, washed off with 2 g/L nonionic detergent (Sera Wash M-RK; DyStar) at a liquor ratio of 50:1 and at 60 °C for 15 min., rinsed in cold running water and left to dry in the open air.

The light reflectance approach using Kubelka-Munk according to the Eq. 3 was used to measure the relative color strength (K/S) of colored materials [53]. The reflectance (R) of the dyed fabrics was measured on Shimadzu UV/Vis spectrophotometer.

$${\text{K}}/{\text{S}} = \frac{{{{(1 - {\text{R}})}^2}}}{{2{\text{R}}}}$$
(3)

Where, R = Decimal fraction of the reflection of the dyed fabric, K = Absorption coefficient, and S = scattering coefficient.

The dye exhaustion (%E) on PET fabrics was measured and calculated by spectrophotometric method using Eq. 4.

$${\text{\% E}} = \frac{{{{\text{A}}_1} - {{\text{A}}_2}}}{{{{\text{A}}_1}}} \times 100$$
(4)

Where A1 and A2 are the absorptions of the dyebath, dissolved in acetone, before and after dyeing.

Fastness Measurements

According to ISO standard test procedures, a specimen of dyed polyester fabrics with a 1% omf depth of shade was evaluated. According to ISO 105-C06 B2S, the wash fastness test was evaluated at 50 °C for 30 min. with a liquor ratio of 50:1 using 4 g/L ECE detergent, 1 g/L sodium perborate, and 25 steel balls [54]. The rubbing fastness was investigated according to the stander method BS EN ISO 105 × 12 for determining the resistance of the color of textiles [55]. According to ISO 105-P01, the sublimation fastness test was performed with a fixometer at 180 and 210 °C [55]. In compliance with ISO 105-B02, a xenon arc lamp test was used to evaluate the light fastness test [56].

Results and Discussions

Synthesis of Intermediates

The synthetic procedure of PTZ-1(dye 1) and PTZ-2(dye 2) was summarized in Scheme 1. Starting with the direct alkylation of phenothiazine to form 10-hexyl-10 H-phenothiazine (Ia) with an excellent synthetic yield of 90%, Vilsmeier formylation of Ia with phosphorus oxychloride and N,N-dimethylformamide in 1,2-dichloroethane provides aldehyde Ib in a regioselective approach with an 80% yield as bright yellow crystals.

The 1HNMR and 13CNMR studies of the synthesized dyes show significant peaks of aliphatic and aromatic protons and carbons as shown in supplementary file. The aliphatic protons corresponding to the methylene and methyl groups appear in the range of 0.78–3.89 δ while the aromatic protons appear in the range of 6.80–8.45 δ. The sulfonamide NH proton appears at 11.75 δ for PTZ-1 and 12.69 δ for PTZ-2.

Scheme 1
scheme 1

The synthetic routes for PTZ-1, and PTZ-2

Absorption and Fluorescence Study of PTZ-1, and PTZ-2

The spectral properties of the synthesized dyes PTZ-1, and PTZ-2 were investigated, and the spectral data are summarized in Table 1.

Table 1 Photophysical properties of the synthesized dyes in different solvent, powder form and on dyed fabrics

The absorption spectra of the dye solution were measured in different solvents with varying polarities, as shown in Fig. 1. No significant bathochromic or hypsochromic effect due to the polarity was observed, and both dyes absorb in the range of 391–400 nm. However, a significant emission shift to longer wavelengths was observed by increasing the polarity, as shown in Tables 1and Fig. 2. The emission spectra were recorded at 554 and 546 nm in the lowest solvent polarity, while in the highest solvent polarity, the emission maxima were recorded at 607 and 601 nm for PTZ-1 and PTZ-2, respectively. The quantum yield of fluorescence increased by decreasing the solvent polarity for both PTZ-1 and PTZ-2, with values of 0.62 and 0.60 for low-polarity (dioxane) solvents, and 0.20 and 0.23 for high-polarity (ethanol) solvents, respectively. The odd results observed in the case of toluene are ascribed to the low solubility of both dyes, which recorded lower quantum yield compared with DCM despite toluene having lower polarity than DCM.

Fig. 1
figure 1

Absorption spectra of 10 µmole (a) PTZ-1 and (b) PTZ-2 in different solvents

Fig. 2
figure 2

Fluorescence spectra of 10 µM (a) PTZ-1 and (b) PTZ-2 in different solvents

The emission was measured in polycrystalline form (powder form) for both dyes, showing very intensive emission in powder form at a shorter emission wavelength compared with the emission in solution, which was recorded at 558 and 563 nm, respectively. The Stokes shift decreased by decreasing the solvent polarity for both prepared dyes PTZ-1 and PTZ-2. Moreover, these dyes showed a high Stokes shift, which reached over 200 nm in a polar protic solvent. The explanation of the large Stokes shift of the prepared dyes may be ascribed to the twisted intramolecular charge transfer (TICT) or enhanced intramolecular charge transfer (ICT) state present in push-pull (donor (D) – acceptor (A)) chromophores with large Stokes shifts. This state can be produced by solvent polarity, hydrogen bonding, or charge-transfer interactions at the locally excited state of the dye molecules [57,58,59]. The emission spectra were measured on the dyed fabrics using dyes PTZ-1 and PTZ-2, illustrating very strong emission as presented in Fig. 3.

Fig. 3
figure 3

Fluorescence spectra in dioxane, solid and on dyed PET fabrics for dyes (a) PTZ-1 and (b) PTZ-2

The image of the prepared dyes in both solution and powder form under visible and UV light is illustrated in Fig. 4, showing strong emission in both forms.

Fig. 4
figure 4

Image of the prepared dyes in solution and powder form under visible and UV light

Aggregation-Induced Emission (AIE)

The aggregation-induced emission (AIE) of PTZ-1 and PTZ-2 dyes was studied by monitoring changes in fluorescent intensity at different water ratios in a dye solution in dioxane. In this system, dioxane acts as a good solvent and water behaves as a non-solvent. Dye emission intensity decreased when the water ratio is less than 70% due to quenching caused by aggregation. However, AIE occurs with an increasing water ratio greater than 70%, leading to a further increase in emission intensity. The strong polarity of the water-dioxane mixture promotes AIE and stabilizes intramolecular charge transfer. A significant shift to a longer wavelength was observed with the addition of water due to an increase in the solvent mixture polarity up to 60% water. Then, a hypsofluoric shift (shift to a shorter wavelength) was observed when the aggregation of the dye was observed, as shown in Figs. 5 and 6, and Table 2. The increase in emission due to aggregation is attributed to restricted intramolecular rotations and rigid molecular conformations of the dye structure [58].

Fig. 5
figure 5

Fluorescence spectra of (a) PTZ-1 and (b) PTZ-2 in water-dioxane mixtures ranging from 0–90% water

Fig. 6
figure 6

Fluorescence intensity of PTZ-1and PTZ-2 in water-to-dioxane mixtures(0–90% water)

Table 2 The fluorescence properties of the synthesized dyes in water-to-dioxane mixtures (0–90% water)

The Effect of NaCl on Fluorescence Properties of PTZ Dyes

Sodium chloride solution was used and mixed in different ratios with the dye solution in dioxane to enhance the aggregation of the dye and study the AIE by recording the emission change. The fluorescence spectra of dyes PTZ-1 and PTZ-2 in dioxane at various NaCl concentrations (0.00–1.00%) are shown in Fig. 7.

The graph above helps explain how various dyes react to change in ionic strength. The fluorescence intensity of PTZ-1 and PTZ-2 significantly increases with NaCl concentration up to 0.1% and then stabilizes. In this behavior, dye molecules aggregating in the solid state of the prepared dyes enhance emission.

Fluorescence spectra of PTZ-1 and PTZ-2 at various NaCl concentrations reveal their solid-state characteristics. In solid-state electronics and systems where fluorescence responsiveness to ionic concentration is critical, these dyes enhanced fluorescence intensity proportional to the dye concentration in NaCl highlights their prospective use.

Fig. 7
figure 7

Fluorescence spectra of dyes (a) PTZ-1 (b) PTZ-2 10 µmol in a Dioxane-Water 30% solution with different NaCl concentrations, ranging from 0.00–1.00%

As the concentration of sodium chloride (NaCl) increases, significant fluorescence increase was recorded for both dyes PTZ-1 and PTZ-2 in dioxane, as shown in Fig. 8; Table 3. The linear equation presented in Fig. 8, proves the aggregation induced emission.

Fig. 8
figure 8

Linearity graph for the effect of sodium chloride concentration (0–1% NaCl) in the emission changes for PTZ-1and PTZ-2 in dioxane mixtures

Table 3 The fluorescence properties of the synthesized dyes in NaCl solution to dioxane (0–1% NaCl)

Dyeing Application on Polyester Fabrics

The dyeing application of the prepared dyes was studied on polyester fabric. The dye1 (PTZ-1) and dye2 (PTZ-2) show excellent affinity in the dyeing of PET with very high visible and bright yellow colors as shown in Fig. 9. The dye exhaustion and dye uptake were measured and summarized in Table 4 for 2% omf dye shade.

Fig. 9
figure 9

The image of the dyed polyester fabrics under visible and UV light

Table 4 The dye exhaustion and dye uptake on polyester fabrics 2% omf dye shade

The effect of dye concentration was studied which showing very high affinity to PET fabrics and by increase the dye concentration a significant decrease in the dye exhaustion was observed, this ascribed to the possibility of the dye aggregation by increase the dye concentration as shown in Fig. 10.

Fig. 10
figure 10

The effect of the dye concentration in %E of PET dyeing at pH 5, 130 °C

The dye fastness on the dyed PET samples was studied and listed in Table 5. The dyed samples showed very good fastness against washing, light, rubbing and sublimation at 180, 220 °C. The good fastness properties of the prepared dyes to washing and rubbing is attributed to the high diffusion performance of the dye molecule into the fiber core in additional to the physical interaction between the dye molecule and polyester fiber via intermolecular hydrogen bond. The suitable small size of the dye structure and its intermolecular hydrogen bond with the fiber led to the good thermal stability of the dyed fabrics. The dyes showing good light fastness which attributed to the phenothiazine chromophore moiety.

Table 5 The color fastness of the dyed PET fabrics 2% omf

Antibacterial

The preventing bacterial growth using disc diffusion method of the prepared dyes powder was investigated against Gram + ve and Gram –ve bacteria such as Staphylococcus aureus, Escherichia coli, Candida albicans (Table 6). Results indicated that PTZ-1 exhibited low antimicrobial activities against S. aureus, E. coli and C. albicans with inhibition values of 11, 9 and 12 mm, respectively. On the other hand, PTZ-2 exhibited significant antimicrobial activities against the same test microbes with inhibition values of 17, 15 and 16 mm, respectively.

Table 6 The antimicrobial activity of synthesized dyes PTZ-1 and PTZ-2 against Gram + ve and Gram –ve bacteria

The PTZ-2 shows very good inhibition against bacterial growth compared to PTZ-1, which shows lower inhibitions. This result is attributed to the high affinity of PTZ-2 due to the sulfathiazole moiety, known as an antibacterial drug compared to the sulfadiazine derivative. The antibacterial affinity of the prepared dyes PTZ-1 and PTZ-2 shows a nominal increase compared to the starting sulfa-drugs as presented in Table 6. The dye molecules may adhere to microbial surfaces quickly due to the sulfonamide group as well as the effect of the heterocycle in the dye molecules before entering cell membranes, rupturing them, and spilling cell inclusion bodies. Bacteria die as a result of the simultaneous breakdown of their enzyme systems.

The antibacterial affinity of the dyed PET was investigated by the colony forming unit (CFU) procedure. As expected due to the low affinity of PTZ-1, the dyed PET with PTZ-1 did not show a significant effect, while the dyed PET with PTZ-2 showed good affinity compared to PTZ-1 as presented in Table 7.

Table 7 The CFU value of PTZ-1 and PTZ-2 against and S. aureus and E. coli

Conclusions

Two new dyes based on phenothiazine were effectively synthesized and characterized in this research endeavor. These dyes were modified with sulfadiazine and sulfathiazole groups. The dyes exhibited significant fluorescence characteristics in both solution and their polycrystalline state, as evidenced by the 0.63 and 0.60 quantum yields for dyes PTZ-1 and PTZ-2 in dioxane, respectively. Their remarkable affinity and fastness on polyester fabrics with brilliant yellow hues underscore their promising prospects in the realm of high visible textile applications. Furthermore, it should be noted that the dyes demonstrated noteworthy antibacterial efficacy against both Gram + ve and Gram –ve bacteria, thus emphasizing their versatile nature. Consistent with recent developments in the domain of emissive materials, this study’s findings mirror the progress made on phenothiazine-based D–π–A dyes, which exhibited emissive solvatochromism and AIE activity. The results obtained from this study make a valuable contribution to the expanding field of research concerning functional dyes and their potential uses in diverse sectors, such as antimicrobial and optoelectronic therapies.