HSL in HEX: #721378
Auch bekannt als: Tailwind fuchsia-900
Ergebnis
hsl(296.44 72.66% 27.25%) → #721378
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #721378. 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. input
H = 296.44°, S = 72.66%, L = 27.25%
2. C
C = (1 − |2L − 1|) × S = 0.39600
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.37250 (H / 60° = 4.9407, sector 4)
4. m
m = L − C / 2 = 0.07450
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.37250, 0.00000, 0.39600) R = round((0.37250 + 0.07450) × 255) = 114 G = round((0.00000 + 0.07450) × 255) = 19 B = round((0.39600 + 0.07450) × 255) = 120
6. RGB → HEX
#721378
Alle Formate
- HEX
- #721378
- RGB
- rgb(114 19 120)
- RGB (legacy)
- rgb(114, 19, 120)
- HSL
- hsl(296.44 72.66% 27.25%) → hsl(296 73% 27%)
- HWB
- hwb(296 7% 53%)
- OKLCH
- oklch(0.401 0.170 325.4) · oklch(40.1% 0.170 325.4)
- OKLab
- oklab(0.401 0.140 -0.097)
- Lab (D50)
- lab(27.71 48.65 -34.59)
- LCH (D50)
- lch(27.71 59.70 324.59)
- Display P3
- color(display-p3 0.4094 0.1114 0.4546)
- Linear sRGB
- color(srgb-linear 0.1683 0.0065 0.1878)
Gamut: sRGB und Display P3
#721378 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.187, Display P3 von 0.203; diese Farbe nutzt 91 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #721378;
color: rgb(114 19 120);
color: hsl(296 73% 27%);
color: oklch(0.401 0.170 325.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.401 0.170 325.4);
}
/* arbitrary values */
class="text-[#721378] bg-[oklch(0.401_0.170_325.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4094 0.1114 0.4546); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #721378 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 fuchsia-900#701A75
- purple#800080
- v3 fuchsia-800#86198F
- darkmagenta#8B008B
- v3 purple-900#581C87
- fuchsia-800#8A0194
- purple-900#59168B
- rebeccapurple#663399
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #852A8A · oklch(0.461 0.170 325.4) · ΔL +0.06
- #600066 · oklch(0.341 0.170 325.4) · ΔL −0.06