HSL in HEX: #701A75
Auch bekannt als: Tailwind v3 fuchsia-900
Ergebnis
hsl(296.70 63.64% 28.04%) → #701A75
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #701a75. 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.70°, S = 63.64%, L = 28.04%
2. C
C = (1 − |2L − 1|) × S = 0.35689
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.33726 (H / 60° = 4.9450, sector 4)
4. m
m = L − C / 2 = 0.10195
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.33726, 0.00000, 0.35689) R = round((0.33726 + 0.10195) × 255) = 112 G = round((0.00000 + 0.10195) × 255) = 26 B = round((0.35689 + 0.10195) × 255) = 117
6. RGB → HEX
#701A75
Alle Formate
- HEX
- #701a75
- RGB
- rgb(112 26 117)
- RGB (legacy)
- rgb(112, 26, 117)
- HSL
- hsl(296.70 63.64% 28.04%) → hsl(297 64% 28%)
- HWB
- hwb(297 10% 54%)
- OKLCH
- oklch(0.401 0.160 325.6) · oklch(40.1% 0.160 325.6)
- OKLab
- oklab(0.401 0.132 -0.090)
- Lab (D50)
- lab(27.91 45.71 -32.39)
- LCH (D50)
- lch(27.91 56.02 324.67)
- Display P3
- color(display-p3 0.4032 0.1302 0.4436)
- Linear sRGB
- color(srgb-linear 0.1620 0.0103 0.1779)
Gamut: sRGB und Display P3
#701A75 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 86 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #701a75;
color: rgb(112 26 117);
color: hsl(297 64% 28%);
color: oklch(0.401 0.160 325.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.401 0.160 325.6);
}
/* arbitrary values */
class="text-[#701a75] bg-[oklch(0.401_0.160_325.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4032 0.1302 0.4436); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #701a75 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- fuchsia-900#721378
- purple#800080
- v3 fuchsia-800#86198F
- v3 purple-900#581C87
- darkmagenta#8B008B
- purple-900#59168B
- fuchsia-800#8A0194
- rebeccapurple#663399
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #832E87 · oklch(0.461 0.160 325.6) · ΔL +0.06
- #5E0063 · oklch(0.341 0.160 325.6) · ΔL −0.06