Tailwind CSS v4 default palette
Tailwind mauve-600: #594C5B
In Tailwind CSS v4, mauve-600 is defined as --color-mauve-600: oklch(43.5% 0.029 321.78), which is #594C5B in hex and rgb(89, 76, 91): a dark, grayish purple.
In OKLCH, mauve-600 has a lightness of 43.5%, chroma 0.029 and hue 321.8°.
The value fits inside sRGB, so the hex #594C5B represents it without loss on any screen.
Tailwind mauve is one of four tinted neutral scales added in Tailwind CSS v4.2: a gray with a purple-pink cast. It has no v3 equivalent.
Color codes for mauve-600
| Tailwind v4 token | --color-mauve-600 |
|---|---|
| OKLCH (source value) | oklch(43.5% 0.029 321.78) |
| HEX | #594C5B |
| RGB | rgb(89, 76, 91) |
| HSL | hsl(292, 9%, 33%) |
| HWB | hwb(292 30% 64%) |
| CMYK (naive, no ICC profile) | cmyk(2%, 16%, 0%, 64%) |
| Decimal | 5,852,251 |
| Utility classes | bg-mauve-600, text-mauve-600, border-mauve-600 |
Tailwind mauve scale
Contrast and accessibility
On mauve-600, white text has a contrast ratio of 8.04:1 and passes AAA at any text size; black text reaches 2.60: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 mauve-600 | 2.60:1 | Fail | Fail | Fail | Fail | 16.1 |
| White text on mauve-600 | 8.04:1 | Pass | Pass | Pass | Pass | −92.5 |
| Mauve-600 text on white | 8.04:1 | Pass | Pass | Pass | Pass | 87.9 |
| Mauve-600 text on black | 2.60:1 | Fail | Fail | Fail | Fail | −14.3 |
Tints and shades
Each step mixes var(--color-mauve-600) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-mauve-600), white 25%) in CSS.
Tints (mixed with white)
- 5%
#615563 - 15%
#726774 - 25%
#837984 - 35%
#938b94 - 45%
#a49da5 - 55%
#b4aeb5 - 65%
#c5c0c6 - 75%
#d6d2d6 - 85%
#e6e4e6 - 95%
#f7f6f7
Shades (mixed with black)
- 5%
#554856 - 15%
#4c414d - 25%
#433944 - 35%
#3a313b - 45%
#312a32 - 55%
#282229 - 65%
#1f1b20 - 75%
#161317 - 85%
#0d0b0e - 95%
#040405
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, mauve-600's complementary color is #485547 (close to darkslategray), its analogous colors are #514F60 and #5E4B53, and its triadic partners are #59503F and #3E5658. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #485547 |
| Analogous | −30°, +30° | #514f60#5e4b53 |
| Triadic | +120°, +240° | #59503f#3e5658 |
| Split-complementary | +150°, +210° | #515341#41574f |
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 mauve-600 is close to neutral: its OKLCH chroma is only 0.029, so its temperature comes from context. The faint 292° hue gives it a slightly cool cast.
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.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| darkslategray | #2f4f4f | 6.8 |
| dimgray | #696969 | 9.1 |
| darkslateblue | #483d8b | 10.5 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| zinc-600 | #52525c | 2.0 |
| neutral-600 | #525252 | 2.9 |
| taupe-600 | #5b4f4b | 3.0 |
Code snippets
<div class="bg-mauve-600 text-white">...</div>
<p class="text-mauve-600 border-mauve-600">...</p>.element {
color: var(--color-mauve-600);
background-color: oklch(43.5% 0.029 321.78);
border-color: #594c5b;
outline-color: rgb(89 76 91);
}import SwiftUI
extension Color {
static let mauve600 = Color(red: 0.349, green: 0.298, blue: 0.357)
}import androidx.compose.ui.graphics.Color
val Mauve600 = Color(0xFF594C5B)import 'package:flutter/material.dart';
const mauve600 = Color(0xFF594C5B);<!-- res/values/colors.xml -->
<color name="mauve_600">#594C5B</color>Frequently asked questions
- What is the hex code for Tailwind mauve-600?
- In Tailwind CSS v4, mauve-600 is oklch(43.5% 0.029 321.78), which converts to #594C5B (rgb(89, 76, 91)) in sRGB.
- Is mauve-600 available in Tailwind v3?
- No. The mauve scale was added in Tailwind CSS v4.2. In v3 you can recreate it in tailwind.config.js under theme.extend.colors with the hex #594C5B.
- How do I use mauve-600 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-mauve-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on mauve-600?
- White text on mauve-600 has a contrast ratio of 8.04:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 2.60:1 and fails AA even for large text. In APCA terms that is Lc −92.5 for white and Lc 16.1 for black.
- Which CSS named color is closest to mauve-600?
- The closest is darkslategray (#2F4F4F) at ΔE OK 6.8, followed by dimgray and darkslateblue.
Last reviewed by Arielton Oberek.