Introduction

The consequences of water pollution are mainly due to the discharge of untreated or partially treated effluents from various dye industries or wastewater treatment plants [1, 2].

Dyes are used in several industrial applications, such as textile, paper, leather, food, cosmetic and clinical products [3]. The crystal violet dye (CVD), which is a tri-phenylmethane [4], is a member of the organic dye family that has been detected at higher concentrations in hospital and industrial effluents than concentrations typically found in surface, groundwater sources and wastewater [5, 6].

CVD is known to be carcinogenic and mutagenic, but it is still widely used in commercial textile operations, biological staining for histological tissues and Gram's method of identified bacteria (gram-positive and gram-negative) [7]. The dye can be impregnated with harmful amounts through the skin and cause skin irritation and digestive tract irritation [8]. Consequently, they present a serious concern for the environment and health [9]. For this reason, their removal from aqueous solutions is mandatory in terms of environmental and health protections [10, 11].

Several treatment processes have been used for decontamination of organic and inorganic water pollutants [12, 13], including oxidation processes [14], biotic treatment [15], membrane separation [16], conventional coagulation/flocculation and adsorption [17, 18]. The dyes are often hydrophilic and have a low affinity for the biomass and therefore biological treatment is often ineffective [19]. Adsorption was strongly adopted as a simple, low-cost and effective technology among the many treatment processes previously cited [20, 21].

Activated carbon is most commonly used to reduce color by adsorption. However, this material is only effective in some categories of dyes [22], among which the CVD [23], but their high cost and their loss during the regeneration restrict their application [24, 25]. For this reason, a large number of studies have been carried out to develop alternative and more economical adsorbents to remove the CVD.

The material elaborated from layer X of oil shales of the Timahdit region in the North of Morocco (XHA) is one of the common low-cost natural adsorbents [26]. The material presents a high active surface, large pore volume and good performance [27, 28].

The choice of oil shales-based materials as adsorbents seems to be interesting and efficient because of their functional sites that are related to the arrangement of the mineral and organic components within their structure. This confers on them some chemical properties leading to their strong affinity for organic contamination by the CVD [1, 29].

Also, the choice of oil shale is due to the fact that the majority of studies have focused on the energy exploitation of Moroccan oil shale. M. Ziyad et al. have demonstrated non-isothermal kinetics of H2S and H2 production from Timahdit oil shale [30], M. Halim et al. studied the characterization of the kerogen in the Timahdit oil shale (Y layer) based on a multistage degradation with alkaline permanganate [31] and A. Aboulkas and K. El Harfi studied the kinetics and mechanisms of thermal decomposition of Moroccan oil shale of Tarfaya kerogen [32].

On the contrary, our study is interested in the valorization of these non-exploitable oil shale in the field of environmental protection by preparing a new adsorbent.

This paper aims to study the feasibility of CVD adsorption using a phosphoric acid-activated adsorbent material (XHA).[33]. The XHA characterization was effected by scanning electron microscopy (SEM) and Fourier transforms infrared spectroscopy (FTIR) [34]. The kinetic parameters of the adsorption process by pseudo-first-order and pseudo-second-order models were evaluated. The efficiency of interactions between the CVD and XHA was evaluated and compared using the Langmuir and Freundlich adsorption isotherms. Additionally, a comparison of the thermodynamic parameters of the removal of the CVD by XHA was also made [35].

Materials and methods

Chemicals and instruments

The XHA adsorbent, with a particle size of less than 80 µm, was elaborated from oil shale deposits from the layer X of the Timahdit region in Morocco. The samples were provided by the National Office of Petroleum Research and Exploitation (ONAREP) [28]. Phosphoric acid (H3PO4) (30–70%), hydrochloric acid (HCl) (1M) and distilled water were used for chemical preparations and dilutions. The CVD (molecular formula C25H30N3Cl, MW 407.99, λmax = 591 nm) was purchased from Sigma-Aldrich.

The mass of the samples was measured by the Nimbus® Analytical Balances (NBL 214i). The pH, the temperature and the conductivity were determined by a pH meter of WTW 522 type. The rotational speed was identified by the heated magnetic stirrer RT2 Basic (Thermo Scientific ™), and the absorbance of the solution was measured using a UV–Visible spectrophotometer (Thermo Scientific Multiskan FC) [36].

Preparation of the CVD solution

A stock solution of CVD was prepared by precisely dissolving the CVD in distilled water at a concentration of 10 mg/L. The solutions for experiments were prepared by dilution, and the pH was adjusted with 0.1 M HCl or 0.1 M NaOH solutions.

Preparation of XHA

The mineralogical composition of the oil shales from layer X, used in this study, is illustrated in Table 1.

Table 1 Mineralogical composition of (layer X) of the Timahdit region [27, 37]

The raw rocks were crushed, ground and decarbonated using concentrated HCl (6 N) until the disappearance of CO2 release by mixing 40 g of the sample (X) with 160 mL of 6 N HCl under continuous stirring (4 h). After filtration, the residue was washed with distilled water until it was exempt from chloride ions and then dried in the oven at 110 °C. The resulting product, labeled XH, was crushed and sieved to a particle size of 0.08 mm [38].

The chemical activation process of the obtained material consists of immersing the precursor XH in the chemical activating agent, 30–70% H3PO4. The mixture was introduced in the furnace previously preheated to predetermine temperature (250–450 °C) and kept at this temperature for 4 h under air. The excess acid was eliminated with distilled water using a Soxhlet extractor. The resulting product (XHA) was dehydrated in an oven at 110 °C and then sieved [39].

Characterization

The FTIR spectral analysis of the samples was carried out using an IR Affinity-1S spectrometer in the wavenumber range from 500 to 4000 cm−1 with a spectral resolution of 4 cm−1 [40]. The surface morphology was studied using a JEOL JSM-IT200 SEM with voltages between 10 to 20 kV and magnification of 2000 to 4000 [41, 42].

Batch adsorption studies

The adsorption kinetic of CVD onto XHA was conducted at room temperature in a batch system [43]. A liter of CVD stock solution, with an initial concentration of 10 mg/L, was prepared and poured into a series of beakers each containing 50 ml of solution.

During the adsorption experiment, 0.01 g of XHA was added to 0.05 L of the CVD solution with an initial concentration between 5 and 300 mg/L. The batch reactor was stirred at a rotation speed of 125 rpm, and the reaction temperature was 293, 303, 313 and 333 K. Subsequently, 1 mL of the sample was taken at preset times (5–240 min) and the solid was separated from the solution by filtration using a 0.45 µm membrane. The values of the initial and equilibrium concentrations of the CVD were determined using a Thermo Scientific Multiskan FC spectrophotometer [44].

The percentage removal of the CVD was determined by calculation of the difference between its initial (Ci in mg/L) and final (Cf in mg/L) concentrations, using Eq. (1) [45]:

$$\% R = \frac{{\left( {C_{i} - C_{f} } \right)*100}}{{C_{i} }}$$
(1)

The adsorption capacity (qt) was calculated using Eq. (2) [46]:

$$q\left( t \right) = \frac{{\left( {C_{0} - C_{t} } \right)*V}}{m}$$
(2)

where q(t) is the amount of CVD adsorbed at time t (mg/g), C0 and Ct are the initial and time CVD concentrations (mg/L), respectively, V the volume of CVD solution (L) and m is the mass of adsorbent (g).

Kinetic and equilibrium models

The pseudo-first-order and pseudo-second-order kinetic models were used for the analysis of the kinetic data [1, 47]. The equilibrium data were evaluated by applying Freundlich and Langmuir adsorption models, which models and equations are as follows [48]:

Pseudo-first order

$$\ln \left( {Q_{e} - Q_{t} } \right) = \ln \left( {Q_{e} } \right) - k_{1} t$$
(3)

Pseudo-second order

$$\frac{{\text{t}}}{{{\text{Q}}_{{\text{t}}} }} = \frac{{1}}{{{\text{k}}_{{2}} {\text{Q}}_{{\text{e}}}^{{2}} }}{ + }\frac{{\text{t}}}{{{\text{Q}}_{{\text{e}}} }}$$
(4)

where Qe and Qt (mg/g) are the equilibrium and time t adsorption capacities of CVD on the adsorbent, respectively, k1 (min−1) the rate constant of the pseudo-first-order model and k2 (g/mg.min) the pseudo-second-order rate constant.

Langmuir isotherm model:

$$Q_{e} = \frac{{{\text{Q}}_{{\text{m }}} Kl C_{e} }}{{1 + Kl C_{e} }}\;{\text{Nonlinear form}}$$
(5)

Freundlich isotherm model:

$$Q_{e} = k_{f} C_{e} {1/}n\;{\text{Nonlinear form}}$$
(6)

where Qe and Qm (mg/g) represent the equilibrium and the maximum adsorption capacities, respectively, Ce (mg/L) is the equilibrium CVD concentration, KL (L/mg) is the Langmuir constant that gives an indication of the adsorption strength of the adsorbate on the surface of the adsorbent, and KF (mg/g) and n are Freundlich constants.

Results and discussion

Surface morphology

The SEM micrograph of XHA (Fig. 1a) shows that the particles exhibit a considerable number of heterogeneous pores, indicating that the adsorbent morphology has been altered by the chemical activation with H3PO4 [49, 50]. This porous nature of XHA can facilitate the diffusion and penetration of CVD molecules into the internal surface of the XHA. After CVD adsorption, a remarkable change in the surface of XHA, which becomes saturated by CVD molecules, is noticed (Fig. 1b). Consequently, the efficiency of the adsorption phenomenon on XHA has been promoted [51, 52].

Fig. 1
figure 1

SEM micrographs of XHA (a) and XHA-CVD (b) before and after adsorption

FTIR analysis

The FTIR spectra of XHA before and after adsorption of CVD are shown in Fig. 2. The spectrum of XHA before adsorption presents a lower intensity for the peak at 3434 cm−1, which is attributed to the hydroxyl (–OH) stretching vibration [53]. These groups belong to the desiccant effects of the acid treatment. After adsorption, the intensities of this peak increased due to the functional O–H and N–H symmetric stretching vibrations in the CVD [54].

Fig. 2
figure 2

FTIR spectrum of XHA before and after adsorption of CVD

The intensity of the peak at 1600 cm−1, which corresponds to the presence of organic matter in XHA, increased after adsorption due to the presence of carbonyl group (C = O) [55].

The peak centered around 1090 cm−1 is indicative of the possible attributions: C–C elongation (aliphatic and aromatic alkanes) and C–O elongations. It could also be due to the Si–Ο groups. The increased intensity of this peak after adsorption is caused by the C–N elongations [56].

The new peak at 1362 cm−1, which appeared after adsorption, may be attributed to the stretching of C–H and C–N groups. It characterizes the possible involvement of these functional groups in the adsorption process of the CVD on the XHA surface [57].

Adsorption study

Effect of the pH

The effect of the pH, in the 3.0–11.0 range, on the adsorption of CVD by XHA is shown in Fig. 3. The percentage of CVD removed by the solid material increased from 71.22 to 98.89% when the solution pH was moved from 3.0 to 9.0 and remained constant beyond pH 9.0. Thereby, the CVD adsorption onto XHA is improved in the alkaline range because the interaction of the cationic dye with the negatively charged adsorption sites on the surface of XHA is enhanced. The leveling out of adsorption beyond pH 9.0 may be explained by the saturation of the surface sites of XHA and the increased concentration of hydroxyl ions in the solution that hinders the ion exchange between XHA and CVD [58]. The pH 9 value was used for the remainder of this study.

Fig. 3
figure 3

Effect of initial pH on CVD adsorption on XHA

The effect of contact time on adsorption

The effect of contact time on the adsorption of CVD by XHA for up to 240 min is illustrated in Fig. 4. The rapid increase in the percentage of removed CVD during the first 15 min may be explained by the availability of free active sites on the XHA surface [59]. These active sites become saturated after 120 min, and the adsorption reaches its maximum with CVD removal percentages of 98% and 99.47% at 120 and 240 min, respectively [60].

Fig. 4
figure 4

Effect of contact time on CVD adsorption onto XHA

Adsorption kinetic

The kinetic parameters obtained from both models for the adsorption of CVD on XHA are given in Table 2 and Figs. 5 and 6. The pseudo-first-order and pseudo-second-order models were used to test the adsorption kinetic data [61]. The pseudo-second-order model presents better fit for the experimental results, with a correlation coefficient (R2) of 0.990, compared to the pseudo-first-order model (R2 = 0.946). Moreover, the calculated equilibrium quantity (Qe2 = 21.673 mg/g) is closer to the experimental value (Qeexp = 19.89 mg/g) for this model compared to the pseudo-first-order model (Qe1 = 14.604 mg/g).

Table 2 Kinetic parameters for CVD adsorption on XHA
Fig. 5
figure 5

Pseudo-first-order kinetic model for the CVD adsorption by XHA

Fig. 6
figure 6

Pseudo-second-order kinetic model for the CVD adsorption by XHA

Effect of initial concentration and adsorption isotherm

The results of the effect of CVD initial concentration on the CVD adsorption on XHA, in the 5–300 mg/L range, are presented in Fig. 7a. The amount adsorbed increases as a function of the equilibrium concentration until saturation, with a maximum adsorbed quantity of 55.84 mg/g. As the CVD concentration increases, it uses the free sites on the solid surface to adsorb before reaching saturation, as indicated by a plateau on the curve [62]. This phenomenon usually occurs when the interaction between the surface of the adsorbent and the solute is higher than that between the solvent and the solute [63].

Fig. 7
figure 7

(a) Effect of initial concentration of CVD on adsorption efficiency, (b) adsorption isotherm of nonlinear model for CVD adsorption on XHA

Adsorption isotherm experiments were performed at different temperatures of 293, 303, 313 and 323 K with initial CVD concentrations in the 5.0–300 mg/L range and the adsorbent dose ranging from 125 to 1000 mg/L (Fig. 7 b). The calculated adsorption isotherm parameters (Table 3) indicate that the Langmuir model can better describe the CVD adsorption (R2 = 0.9807) than the Freundlich model (R2 = 0.9299). Thus, the CVD adsorption on XHA may be well determined by monolayer chemical adsorption with a maximum adsorbed quantity of 54.20 mg/g [64].

Table 3 CVD adsorption parameters on XHA according to the Langmuir and Freundlich nonlinear model

Comparison of the XHA with other adsorbents

The different adsorbents reported in the literature regarding the removal of CVD by different methods are shown in Table 4. Our adsorbent (XHA) presents a better ability to remove CVD than most of these adsorbents.

Table 4 Comparison of adsorption capacity of CVD by XHA with some other adsorbents

Thermodynamic parameters

The thermodynamic study was realized by varying the solution temperature from 20 to 50 °C. The CVD adsorption capacity increases with increasing temperature (Fig. 8 a) [71]. The thermodynamic parameters, such as free energy (ΔG°), enthalpy (ΔH°) and entropy (ΔS°), were calculated from the Van’t Hoff equation using Eqs. (7) and (8) and are given in Table 5 [72].

$$\Delta G^{^\circ } = - RT LnK_{d}$$
(7)
$$LnK_{d} = \frac{{\Delta S^{^\circ } }}{R} - \frac{{\Delta H^{^\circ } }}{RT}$$
(8)

where R is the constant of perfect gases (8.314 J.mol−1.K−1), T is the absolute solution temperature (K) and Kd is the partition coefficient.

Fig. 8
figure 8

(a) Effect of temperature on the CVD adsorption on XHA and (b) effect of temperature on the distribution constant of the adsorption

Table 5 Thermodynamic parameters for adsorption of CVD on XHA adsorbent

The ΔH° and ΔS° parameters are calculated using the linear regression analysis of the van’t Hoff equation: ln Kd = f (1/T) (Fig. 8 b). The adsorption process is spontaneous (Δ° < 0), endothermic (ΔH° = 38.014 kJ/mol) and presents an increasing randomness between the solid–solution interfaces (ΔS° = 160.42 J/mol/K) [73]. The negative values of ΔG° which are within 20 and 0 kJ/mol range show that the mechanism is dominated by the physical reaction. It is also noted that this energy increases with temperature, indicating that the CVD adsorption on XHA is more favorable at lower temperatures [74, 75].

Conclusion

This study shows that adsorbent materials, prepared from Moroccan oil shales of Timahdit (layer X), present efficient materials for the removal of CVD from aqueous solutions. The results indicate that the adsorption is also influenced by experimental factors, such as contact time, initial CVD concentration, pH value and temperature. The adsorption isotherm of XHA-CVD reveals a monolayer process, which is better described by the Langmuir model with a maximum adsorption capacity of 54.20 mg/g. The kinetic study shows that the adsorption process obeys the pseudo-second-order model, which implies it depends on both time and concentration. The thermodynamic parameters obtained indicate the CVD adsorption on XHA is spontaneous, endothermic and governed by a physisorption process.

Moreover, the preparation of XHA was simple, inexpensive and environment-friendly. Thus, the application of XHA in the removal of CVD from wastewater and groundwater presents great development prospects. It can be concluded that the application of modified Moroccan oil shales for removing CVD from aqueous solutions is highly feasible.