HEX to RGB: #432DD7
Also known as: Tailwind indigo-700
Result
#432DD7 → rgb(67 45 215)
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. HEX → pairs
#432DD7 → 43 | 2D | D7
2. base 16 → base 10
R = 43₁₆ = 4×16 + 3 = 67 G = 2D₁₆ = 2×16 + 13 = 45 B = D7₁₆ = 13×16 + 7 = 215
3. RGB
rgb(67 45 215)
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?