HEX to HSL: #432DD7
Also known as: Tailwind indigo-700
Result
#432DD7 → hsl(248 68% 51%)
Values are shown at full precision, so converting back gives exactly #432dd7. 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. RGB ÷ 255
R = 0.2627 G = 0.1765 B = 0.8431
2. max, min, Δ
max = 0.8431 min = 0.1765 Δ = max − min = 0.6667
3. L
L = (max + min) / 2 = 0.5098 = 50.98%
4. S
S = Δ / (1 − |2L − 1|) = 0.6800 = 68.00%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.2627 − 0.1765) / 0.6667 + 4) = 247.76°
6. HSL
hsl(247.76 68.00% 50.98%)
All formats
- HEX
- #432dd7
- RGB
- rgb(67 45 215)
- RGB (legacy)
- rgb(67, 45, 215)
- HSL
- hsl(247.76 68.00% 50.98%) → hsl(248 68% 51%)
- HWB
- hwb(248 18% 16%)
- OKLCH
- oklch(0.456 0.240 276.9) · oklch(45.6% 0.240 276.9)
- OKLab
- oklab(0.456 0.029 -0.238)
- Lab (D50)
- lab(32.37 49.08 -84.55)
- LCH (D50)
- lch(32.37 97.77 300.13)
- Display P3
- color(display-p3 0.2499 0.1801 0.8104)
- Linear sRGB
- color(srgb-linear 0.0561 0.0262 0.6795)
Gamut: sRGB and Display P3
#432DD7 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.282 and Display P3 reaches 0.285; this color uses 85% of the sRGB chroma available.
CSS snippets
.element {
color: #432dd7;
color: rgb(67 45 215);
color: hsl(248 68% 51%);
color: oklch(0.456 0.240 276.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.456 0.240 276.9);
}
/* arbitrary values */
class="text-[#432dd7] bg-[oklch(0.456_0.240_276.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2499 0.1801 0.8104); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #432dd7 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 indigo-700#4338CA
- v3 indigo-600#4F46E5
- indigo-600#4F39F6
- blue-700#1447E6
- v3 blue-700#1D4ED8
- blue-800#193CB8
- violet-800#5D0EC0
- v3 violet-800#5B21B6
Lighter and darker, same hue and chroma
- #5045EC · oklch(0.516 0.240 276.9) · ΔL +0.06
- #3709C2 · oklch(0.396 0.240 276.9) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?