Tailwind CSS v4 default palette
Tailwind mauve-700: #463947
In Tailwind CSS v4, mauve-700 is defined as --color-mauve-700: oklch(36.4% 0.029 323.89), which is #463947 in hex and rgb(70, 57, 71): a dark, grayish purple.
In OKLCH, mauve-700 has a lightness of 36.4%, chroma 0.029 and hue 323.9°.
The value fits inside sRGB, so the hex #463947 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-700
| Tailwind v4 token | --color-mauve-700 |
|---|---|
| OKLCH (source value) | oklch(36.4% 0.029 323.89) |
| HEX | #463947 |
| RGB | rgb(70, 57, 71) |
| HSL | hsl(296, 11%, 25%) |
| HWB | hwb(296 22% 72%) |
| CMYK (naive, no ICC profile) | cmyk(1%, 20%, 0%, 72%) |
| Decimal | 4,602,183 |
| Utility classes | bg-mauve-700, text-mauve-700, border-mauve-700 |
Tailwind mauve scale
Contrast and accessibility
On mauve-700, white text has a contrast ratio of 10.84:1 and passes AAA at any text size; black text reaches 1.93: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-700 | 1.93:1 | Fail | Fail | Fail | Fail | 8.8 |
| White text on mauve-700 | 10.84:1 | Pass | Pass | Pass | Pass | −99.0 |
| Mauve-700 text on white | 10.84:1 | Pass | Pass | Pass | Pass | 95.1 |
| Mauve-700 text on black | 1.93:1 | Fail | Fail | Fail | Fail | −7.5 |
Tints and shades
Each step mixes var(--color-mauve-700) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-mauve-700), white 25%) in CSS.
Tints (mixed with white)
- 5%
#4f4350 - 15%
#625763 - 25%
#746b75 - 35%
#877e87 - 45%
#99929a - 55%
#aca6ac - 65%
#bebabf - 75%
#d1ced1 - 85%
#e3e1e3 - 95%
#f6f5f6
Shades (mixed with black)
- 5%
#433643 - 15%
#3c303c - 25%
#352b35 - 35%
#2e252e - 45%
#271f27 - 55%
#1f1a20 - 65%
#191419 - 75%
#120e12 - 85%
#0b090b - 95%
#040304
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, mauve-700's complementary color is #354235 (close to darkslategray), its analogous colors are #3F3B4C and #4B383F, and its triadic partners are #453D2D and #2C4345. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #354235 |
| Analogous | −30°, +30° | #3f3b4c#4b383f |
| Triadic | +120°, +240° | #453d2d#2c4345 |
| Split-complementary | +150°, +210° | #3e402e#2e433d |
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-700 is close to neutral: its OKLCH chroma is only 0.029, so its temperature comes from context. The faint 296° 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 | 7.2 |
| darkslateblue | #483d8b | 11.5 |
| maroon | #800000 | 14.5 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| zinc-700 | #3f3f46 | 2.1 |
| taupe-700 | #473c39 | 2.9 |
| neutral-700 | #404040 | 3.0 |
Code snippets
<div class="bg-mauve-700 text-white">...</div>
<p class="text-mauve-700 border-mauve-700">...</p>.element {
color: var(--color-mauve-700);
background-color: oklch(36.4% 0.029 323.89);
border-color: #463947;
outline-color: rgb(70 57 71);
}import SwiftUI
extension Color {
static let mauve700 = Color(red: 0.275, green: 0.224, blue: 0.278)
}import androidx.compose.ui.graphics.Color
val Mauve700 = Color(0xFF463947)import 'package:flutter/material.dart';
const mauve700 = Color(0xFF463947);<!-- res/values/colors.xml -->
<color name="mauve_700">#463947</color>Frequently asked questions
- What is the hex code for Tailwind mauve-700?
- In Tailwind CSS v4, mauve-700 is oklch(36.4% 0.029 323.89), which converts to #463947 (rgb(70, 57, 71)) in sRGB.
- Is mauve-700 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 #463947.
- How do I use mauve-700 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-mauve-700). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on mauve-700?
- White text on mauve-700 has a contrast ratio of 10.84:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 1.93:1 and fails AA even for large text. In APCA terms that is Lc −99.0 for white and Lc 8.8 for black.
- Which CSS named color is closest to mauve-700?
- The closest is darkslategray (#2F4F4F) at ΔE OK 7.2, followed by darkslateblue and maroon.
Last reviewed by Arielton Oberek.