HSL to HEX: #701A75
Also known as: Tailwind v3 fuchsia-900
Result
hsl(296.70 63.64% 28.04%) → #701A75
Values are shown at full precision, so converting back gives exactly #701a75. The rounded form is what you normally paste into CSS.
Step-by-step math
Every number below is computed from the input, nothing is looked up.
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
All formats
- 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 and Display P3
#701A75 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.187 and Display P3 reaches 0.203; this color uses 86% of the sRGB chroma available.
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); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- fuchsia-900#721378
- purple#800080
- v3 fuchsia-800#86198F
- v3 purple-900#581C87
- darkmagenta#8B008B
- purple-900#59168B
- fuchsia-800#8A0194
- rebeccapurple#663399
Lighter and darker, same hue and chroma
- #832E87 · oklch(0.461 0.160 325.6) · ΔL +0.06
- #5E0063 · oklch(0.341 0.160 325.6) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?