Tailwind CSS v4 default palette
Tailwind fuchsia-950: #4B004F
In Tailwind CSS v4, fuchsia-950 is defined as --color-fuchsia-950: oklch(29.3% 0.136 325.661), which is #4B004F in hex and rgb(75, 0, 79): a very dark, moderately saturated purple. In Tailwind v3, fuchsia-950 was #4A044E.
In OKLCH, fuchsia-950 has a lightness of 29.3%, chroma 0.136 and hue 325.7°.
The value fits inside sRGB, so the hex #4B004F represents it without loss on any screen.
In v3, fuchsia-950 was #4A044E. The v4 value is ΔE OK 0.5 away, below the point where most people can tell them apart; v4 is more saturated.
Tailwind fuchsia is a vivid magenta; several of its mid shades lie well outside sRGB and need gamut mapping on standard screens.
Color codes for fuchsia-950
| Tailwind v4 token | --color-fuchsia-950 |
|---|---|
| OKLCH (source value) | oklch(29.3% 0.136 325.661) |
| HEX | #4B004F |
| RGB | rgb(75, 0, 79) |
| HSL | hsl(297, 100%, 15%) |
| HWB | hwb(297 0% 69%) |
| CMYK (naive, no ICC profile) | cmyk(5%, 100%, 0%, 69%) |
| Decimal | 4,915,279 |
| Tailwind v3 hex | #4A044E |
| Utility classes | bg-fuchsia-950, text-fuchsia-950, border-fuchsia-950 |
Tailwind fuchsia scale
Contrast and accessibility
On fuchsia-950, white text has a contrast ratio of 14.87:1 and passes AAA at any text size; black text reaches 1.41: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 fuchsia-950 | 1.41:1 | Fail | Fail | Fail | Fail | 0.0 |
| White text on fuchsia-950 | 14.87:1 | Pass | Pass | Pass | Pass | −103.4 |
| Fuchsia-950 text on white | 14.87:1 | Pass | Pass | Pass | Pass | 100.4 |
| Fuchsia-950 text on black | 1.41:1 | Fail | Fail | Fail | Fail | 0.0 |
Tints and shades
Each step mixes var(--color-fuchsia-950) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-fuchsia-950), white 25%) in CSS.
Tints (mixed with white)
- 5%
#540d58 - 15%
#662669 - 25%
#78407b - 35%
#8a598d - 45%
#9c739e - 55%
#ae8cb0 - 65%
#c0a6c1 - 75%
#d2bfd3 - 85%
#e4d9e5 - 95%
#f6f2f6
Shades (mixed with black)
- 5%
#47004b - 15%
#400043 - 25%
#38003b - 35%
#310033 - 45%
#29002b - 55%
#220024 - 65%
#1a001c - 75%
#130014 - 85%
#0b000c - 95%
#040004
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, fuchsia-950's complementary color is #003A00 (close to darkslategray), its analogous colors are #351166 and #59002F, and its triadic partners are #3D2800 and #00353D. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #003a00 |
| Analogous | −30°, +30° | #351166#59002f |
| Triadic | +120°, +240° | #3d2800#00353d |
| Split-complementary | +150°, +210° | #2b3000#00382a |
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 fuchsia-950 is a cool color: its hue is 297° 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.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| indigo | #4b0082 | 9.1 |
| midnightblue | #191970 | 12.5 |
| purple | #800080 | 14.0 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| purple-950 | #3c0366 | 5.8 |
| violet-950 | #2f0d68 | 8.3 |
| pink-950 | #510424 | 8.5 |
Code snippets
<div class="bg-fuchsia-950 text-white">...</div>
<p class="text-fuchsia-950 border-fuchsia-950">...</p>.element {
color: var(--color-fuchsia-950);
background-color: oklch(29.3% 0.136 325.661);
border-color: #4b004f;
outline-color: rgb(75 0 79);
}import SwiftUI
extension Color {
static let fuchsia950 = Color(red: 0.294, green: 0.000, blue: 0.310)
}import androidx.compose.ui.graphics.Color
val Fuchsia950 = Color(0xFF4B004F)import 'package:flutter/material.dart';
const fuchsia950 = Color(0xFF4B004F);<!-- res/values/colors.xml -->
<color name="fuchsia_950">#4B004F</color>Frequently asked questions
- What is the hex code for Tailwind fuchsia-950?
- In Tailwind CSS v4, fuchsia-950 is oklch(29.3% 0.136 325.661), which converts to #4B004F (rgb(75, 0, 79)) in sRGB. In Tailwind v3 the same name was #4A044E.
- What is the difference between fuchsia-950 in Tailwind v3 and v4?
- v3 used the hex #4A044E; v4 redefined the palette in OKLCH as oklch(29.3% 0.136 325.661). In v3, fuchsia-950 was #4A044E. The v4 value is ΔE OK 0.5 away, below the point where most people can tell them apart; v4 is more saturated.
- How do I use fuchsia-950 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-fuchsia-950). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on fuchsia-950?
- White text on fuchsia-950 has a contrast ratio of 14.87:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 1.41:1 and fails AA even for large text. In APCA terms that is Lc −103.4 for white and Lc 0.0 for black.
- Which CSS named color is closest to fuchsia-950?
- The closest is indigo (#4B0082) at ΔE OK 9.1, followed by midnightblue and purple.
Last reviewed by Arielton Oberek.