Skip to content

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.

mauve-600#594C5B

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

Color codes for mauve-600
Tailwind v4 token--color-mauve-600
OKLCH (source value)oklch(43.5% 0.029 321.78)
HEX#594C5B
RGBrgb(89, 76, 91)
HSLhsl(292, 9%, 33%)
HWBhwb(292 30% 64%)
CMYK (naive, no ICC profile)cmyk(2%, 16%, 0%, 64%)
Decimal5,852,251
Utility classesbg-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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on mauve-6002.60:1FailFailFailFail16.1
White text on mauve-6008.04:1PassPassPassPass−92.5
Mauve-600 text on white8.04:1PassPassPassPass87.9
Mauve-600 text on black2.60:1FailFailFailFail−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)

  1. 5%
    #615563
  2. 15%
    #726774
  3. 25%
    #837984
  4. 35%
    #938b94
  5. 45%
    #a49da5
  6. 55%
    #b4aeb5
  7. 65%
    #c5c0c6
  8. 75%
    #d6d2d6
  9. 85%
    #e6e4e6
  10. 95%
    #f7f6f7

Shades (mixed with black)

  1. 5%
    #554856
  2. 15%
    #4c414d
  3. 25%
    #433944
  4. 35%
    #3a313b
  5. 45%
    #312a32
  6. 55%
    #282229
  7. 65%
    #1f1b20
  8. 75%
    #161317
  9. 85%
    #0d0b0e
  10. 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.

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

Nearest CSS named colors
ColorHEXΔE OK
darkslategray#2f4f4f6.8
dimgray#6969699.1
darkslateblue#483d8b10.5

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
zinc-600#52525c2.0
neutral-600#5252522.9
taupe-600#5b4f4b3.0

Code snippets

Tailwind CSS
<div class="bg-mauve-600 text-white">...</div>
<p class="text-mauve-600 border-mauve-600">...</p>
CSS
.element {
  color: var(--color-mauve-600);
  background-color: oklch(43.5% 0.029 321.78);
  border-color: #594c5b;
  outline-color: rgb(89 76 91);
}
SwiftUI
import SwiftUI

extension Color {
  static let mauve600 = Color(red: 0.349, green: 0.298, blue: 0.357)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

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