Skip to content

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.

mauve-700#463947

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

Color codes for mauve-700
Tailwind v4 token--color-mauve-700
OKLCH (source value)oklch(36.4% 0.029 323.89)
HEX#463947
RGBrgb(70, 57, 71)
HSLhsl(296, 11%, 25%)
HWBhwb(296 22% 72%)
CMYK (naive, no ICC profile)cmyk(1%, 20%, 0%, 72%)
Decimal4,602,183
Utility classesbg-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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on mauve-7001.93:1FailFailFailFail8.8
White text on mauve-70010.84:1PassPassPassPass−99.0
Mauve-700 text on white10.84:1PassPassPassPass95.1
Mauve-700 text on black1.93:1FailFailFailFail−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)

  1. 5%
    #4f4350
  2. 15%
    #625763
  3. 25%
    #746b75
  4. 35%
    #877e87
  5. 45%
    #99929a
  6. 55%
    #aca6ac
  7. 65%
    #bebabf
  8. 75%
    #d1ced1
  9. 85%
    #e3e1e3
  10. 95%
    #f6f5f6

Shades (mixed with black)

  1. 5%
    #433643
  2. 15%
    #3c303c
  3. 25%
    #352b35
  4. 35%
    #2e252e
  5. 45%
    #271f27
  6. 55%
    #1f1a20
  7. 65%
    #191419
  8. 75%
    #120e12
  9. 85%
    #0b090b
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
darkslategray#2f4f4f7.2
darkslateblue#483d8b11.5
maroon#80000014.5

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
zinc-700#3f3f462.1
taupe-700#473c392.9
neutral-700#4040403.0

Code snippets

Tailwind CSS
<div class="bg-mauve-700 text-white">...</div>
<p class="text-mauve-700 border-mauve-700">...</p>
CSS
.element {
  color: var(--color-mauve-700);
  background-color: oklch(36.4% 0.029 323.89);
  border-color: #463947;
  outline-color: rgb(70 57 71);
}
SwiftUI
import SwiftUI

extension Color {
  static let mauve700 = Color(red: 0.275, green: 0.224, blue: 0.278)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Mauve700 = Color(0xFF463947)
Flutter
import 'package:flutter/material.dart';

const mauve700 = Color(0xFF463947);
Android XML
<!-- 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.