Tailwind CSS v4 default palette
Tailwind indigo-600: #4F39F6
In Tailwind CSS v4, indigo-600 is defined as --color-indigo-600: oklch(51.1% 0.262 276.966), which is #4F39F6 in hex and rgb(79, 57, 246): a medium-dark, vivid blue-violet. In Tailwind v3, indigo-600 was #4F46E5.
In OKLCH, indigo-600 has a lightness of 51.1%, chroma 0.262 and hue 277.0°. It is the most saturated shade of the indigo scale.
The value fits inside sRGB, so the hex #4F39F6 represents it without loss on any screen.
In v3, indigo-600 was #4F46E5. The v4 value is ΔE OK 3.2 away; v4 is more saturated.
Tailwind indigo is a blue-violet and the accent color in many Tailwind UI examples and early Tailwind templates.
Color codes for indigo-600
| Tailwind v4 token | --color-indigo-600 |
|---|---|
| OKLCH (source value) | oklch(51.1% 0.262 276.966) |
| HEX | #4F39F6 |
| RGB | rgb(79, 57, 246) |
| HSL | hsl(247, 91%, 59%) |
| HWB | hwb(247 22% 4%) |
| CMYK (naive, no ICC profile) | cmyk(68%, 77%, 0%, 4%) |
| Decimal | 5,192,182 |
| Tailwind v3 hex | #4F46E5 |
| Utility classes | bg-indigo-600, text-indigo-600, border-indigo-600 |
Tailwind indigo scale
Contrast and accessibility
On indigo-600, white text has a contrast ratio of 6.46:1 and passes AA for normal text; black text reaches 3.24:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on indigo-600 | 3.24:1 | Fail | Pass | Fail | Fail | 23.2 |
| White text on indigo-600 | 6.46:1 | Pass | Pass | Fail | Pass | −86.0 |
| Indigo-600 text on white | 6.46:1 | Pass | Pass | Fail | Pass | 80.9 |
| Indigo-600 text on black | 3.24:1 | Fail | Pass | Fail | Fail | −21.0 |
Tints and shades
Each step mixes var(--color-indigo-600) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-indigo-600), white 25%) in CSS.
Tints (mixed with white)
- 5%
#5843f6 - 15%
#6957f7 - 25%
#7b6bf8 - 35%
#8d7ef9 - 45%
#9e92fa - 55%
#b0a6fb - 65%
#c1bafc - 75%
#d3cefd - 85%
#e5e1fe - 95%
#f6f5ff
Shades (mixed with black)
- 5%
#4b36ea - 15%
#4330d1 - 25%
#3b2bb9 - 35%
#3325a0 - 45%
#2b1f87 - 55%
#241a6f - 65%
#1c1456 - 75%
#140e3e - 85%
#0c0925 - 95%
#04030c
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, indigo-600's complementary color is #7B6500 (close to darkolivegreen), its analogous colors are #0069BF and #8E01D7, and its triadic partners are #BE1B00 and #007E41. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #7b6500 |
| Analogous | −30°, +30° | #0069bf#8e01d7 |
| Triadic | +120°, +240° | #be1b00#007e41 |
| Split-complementary | +150°, +210° | #975300#4e7500 |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Tailwind indigo-600 is a cool color: its hue is 247° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Code snippets
<div class="bg-indigo-600 text-white">...</div>
<p class="text-indigo-600 border-indigo-600">...</p>.element {
color: var(--color-indigo-600);
background-color: oklch(51.1% 0.262 276.966);
border-color: #4f39f6;
outline-color: rgb(79 57 246);
}import SwiftUI
extension Color {
static let indigo600 = Color(red: 0.310, green: 0.224, blue: 0.965)
}import androidx.compose.ui.graphics.Color
val Indigo600 = Color(0xFF4F39F6)import 'package:flutter/material.dart';
const indigo600 = Color(0xFF4F39F6);<!-- res/values/colors.xml -->
<color name="indigo_600">#4F39F6</color>Frequently asked questions
- What is the hex code for Tailwind indigo-600?
- In Tailwind CSS v4, indigo-600 is oklch(51.1% 0.262 276.966), which converts to #4F39F6 (rgb(79, 57, 246)) in sRGB. In Tailwind v3 the same name was #4F46E5.
- What is the difference between indigo-600 in Tailwind v3 and v4?
- v3 used the hex #4F46E5; v4 redefined the palette in OKLCH as oklch(51.1% 0.262 276.966). In v3, indigo-600 was #4F46E5. The v4 value is ΔE OK 3.2 away; v4 is more saturated.
- How do I use indigo-600 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-indigo-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on indigo-600?
- White text on indigo-600 has a contrast ratio of 6.46:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 3.24:1 and passes AA only for large text (24 px, or 18.66 px bold, and up). In APCA terms that is Lc −86.0 for white and Lc 23.2 for black.
- Which CSS named color is closest to indigo-600?
- The closest is royalblue (#4169E1) at ΔE OK 9.7, followed by blue and slateblue.
Last reviewed by Arielton Oberek.