HEX in RGB: #4A044E
Auch bekannt als: Tailwind v3 fuchsia-950
Ergebnis
#4A044E → rgb(74 4 78)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #4a044e. 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. HEX → pairs
#4A044E → 4A | 04 | 4E
2. base 16 → base 10
R = 4A₁₆ = 4×16 + 10 = 74 G = 04₁₆ = 0×16 + 4 = 4 B = 4E₁₆ = 4×16 + 14 = 78
3. RGB
rgb(74 4 78)
Alle Formate
- HEX
- #4a044e
- RGB
- rgb(74 4 78)
- RGB (legacy)
- rgb(74, 4, 78)
- HSL
- hsl(296.76 90.24% 16.08%) → hsl(297 90% 16%)
- HWB
- hwb(297 2% 69%)
- OKLCH
- oklch(0.293 0.131 325.7) · oklch(29.3% 0.131 325.7)
- OKLab
- oklab(0.293 0.108 -0.074)
- Lab (D50)
- lab(15.86 37.50 -26.39)
- LCH (D50)
- lch(15.86 45.85 324.86)
- Display P3
- color(display-p3 0.2637 0.0444 0.2947)
- Linear sRGB
- color(srgb-linear 0.0685 0.0012 0.0762)
Gamut: sRGB und Display P3
#4A044E 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.137, Display P3 von 0.149; diese Farbe nutzt 96 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #4a044e;
color: rgb(74 4 78);
color: hsl(297 90% 16%);
color: oklch(0.293 0.131 325.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.293 0.131 325.7);
}
/* arbitrary values */
class="text-[#4a044e] bg-[oklch(0.293_0.131_325.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2637 0.0444 0.2947); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #4a044e calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- fuchsia-950#4B004F
- v3 purple-950#3B0764
- purple-950#3C0366
- v3 violet-950#2E1065
- pink-950#510424
- v3 pink-950#500724
- violet-950#2F0D68
- indigo#4B0082
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #5B1A5F · oklch(0.353 0.131 325.7) · ΔL +0.06
- #39003D · oklch(0.233 0.131 325.7) · ΔL −0.06