HEX in HSL: #432DD7
Auch bekannt als: Tailwind indigo-700
Ergebnis
#432DD7 → hsl(248 68% 51%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #432dd7. Die gerundete Form fügst du üblicherweise in CSS ein.
Rechenweg Schritt für Schritt
Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.
1. RGB ÷ 255
R = 0.2627 G = 0.1765 B = 0.8431
2. max, min, Δ
max = 0.8431 min = 0.1765 Δ = max − min = 0.6667
3. L
L = (max + min) / 2 = 0.5098 = 50.98%
4. S
S = Δ / (1 − |2L − 1|) = 0.6800 = 68.00%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.2627 − 0.1765) / 0.6667 + 4) = 247.76°
6. HSL
hsl(247.76 68.00% 50.98%)
Alle Formate
- HEX
- #432dd7
- RGB
- rgb(67 45 215)
- RGB (legacy)
- rgb(67, 45, 215)
- HSL
- hsl(247.76 68.00% 50.98%) → hsl(248 68% 51%)
- HWB
- hwb(248 18% 16%)
- OKLCH
- oklch(0.456 0.240 276.9) · oklch(45.6% 0.240 276.9)
- OKLab
- oklab(0.456 0.029 -0.238)
- Lab (D50)
- lab(32.37 49.08 -84.55)
- LCH (D50)
- lch(32.37 97.77 300.13)
- Display P3
- color(display-p3 0.2499 0.1801 0.8104)
- Linear sRGB
- color(srgb-linear 0.0561 0.0262 0.6795)
Gamut: sRGB und Display P3
#432DD7 ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.282, Display P3 von 0.285; diese Farbe nutzt 85 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #432dd7;
color: rgb(67 45 215);
color: hsl(248 68% 51%);
color: oklch(0.456 0.240 276.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.456 0.240 276.9);
}
/* arbitrary values */
class="text-[#432dd7] bg-[oklch(0.456_0.240_276.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2499 0.1801 0.8104); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #432dd7 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 indigo-700#4338CA
- v3 indigo-600#4F46E5
- indigo-600#4F39F6
- blue-700#1447E6
- v3 blue-700#1D4ED8
- blue-800#193CB8
- violet-800#5D0EC0
- v3 violet-800#5B21B6
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #5045EC · oklch(0.516 0.240 276.9) · ΔL +0.06
- #3709C2 · oklch(0.396 0.240 276.9) · ΔL −0.06