HEX in HSL: #4F39F6
Auch bekannt als: Tailwind indigo-600
Ergebnis
#4F39F6 → hsl(247 91% 59%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #4f39f6. 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.3098 G = 0.2235 B = 0.9647
2. max, min, Δ
max = 0.9647 min = 0.2235 Δ = max − min = 0.7412
3. L
L = (max + min) / 2 = 0.5941 = 59.41%
4. S
S = Δ / (1 − |2L − 1|) = 0.9130 = 91.30%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.3098 − 0.2235) / 0.7412 + 4) = 246.98°
6. HSL
hsl(246.98 91.30% 59.41%)
Alle Formate
- HEX
- #4f39f6
- RGB
- rgb(79 57 246)
- RGB (legacy)
- rgb(79, 57, 246)
- HSL
- hsl(246.98 91.30% 59.41%) → hsl(247 91% 59%)
- HWB
- hwb(247 22% 4%)
- OKLCH
- oklch(0.510 0.262 276.9) · oklch(51.0% 0.262 276.9)
- OKLab
- oklab(0.510 0.032 -0.260)
- Lab (D50)
- lab(38.30 52.59 -92.32)
- LCH (D50)
- lch(38.30 106.25 299.67)
- Display P3
- color(display-p3 0.2966 0.2270 0.9277)
- Linear sRGB
- color(srgb-linear 0.0782 0.0409 0.9216)
Gamut: sRGB und Display P3
#4F39F6 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.278, Display P3 von 0.298; diese Farbe nutzt 94 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #4f39f6;
color: rgb(79 57 246);
color: hsl(247 91% 59%);
color: oklch(0.510 0.262 276.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.510 0.262 276.9);
}
/* arbitrary values */
class="text-[#4f39f6] bg-[oklch(0.510_0.262_276.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2966 0.2270 0.9277); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #4f39f6 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 indigo-600#4F46E5
- indigo-700#432DD7
- blue-700#1447E6
- v3 indigo-700#4338CA
- v3 blue-700#1D4ED8
- blue-600#155DFC
- v3 violet-700#6D28D9
- violet-700#7008E7
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #5D51FF · oklch(0.570 0.262 276.9) · ΔL +0.06
- #431AE1 · oklch(0.450 0.262 276.9) · ΔL −0.06