Violet 900
violet-900 · #4C1D95
HEX
#4C1D95
RGB
rgb(76, 29, 149)
CMYK
cmyk(49%, 81%, 0%, 42%)
HSL
hsl(264, 67%, 35%)
LAB
lab(25.5, 47.6, -56.9)
What is Violet 900?
Violet 900 is the violet-900 reference in the Tailwind CSS palette. Its sRGB value is #4C1D95 (rgb 76, 29, 149). It sits in the purple family. The default color palette shipped with Tailwind CSS v3 by Tailwind Labs. 22 color families across 11 lightness steps (50 to 950). See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Violet 900 as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Violet 900
An 11-step tonal scale derived from Violet 900 (#4C1D95). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#F1EDF7
#F1EDF7
100
#E2DBEE
#E2DBEE
200
#C6B7DD
#C6B7DD
300
#A68ECA
#A68ECA
400
#7956B0
#7956B0
500
#4C1D95
#4C1D95
600
#41197F
#41197F
700
#311361
#311361
800
#220D43
#220D43
900
#130725
#130725
950
#090312
#090312
Lighter tints (mixed with white)
15%
#7F6FAB
30%
#A097BD
45%
#BAB4CE
60%
#D0CCDD
75%
#E3E1EA
Darker shades (mixed with black)
15%
#461A8A
30%
#40177E
45%
#381471
60%
#2F0F61
75%
#240A4D
Color harmonies for Violet 900
Classic color-theory harmonies derived from rotating the hue of Violet 900. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#4C1D95
#4C1D95
#65951D
#65951D
Triadic
Three colors 120° apart
#4C1D95
#4C1D95
#954D1D
#954D1D
#1D954D
#1D954D
Analogous
Two neighbors ±30° on the wheel
#1D2995
#1D2995
#4C1D95
#4C1D95
#891D95
#891D95
Split-complementary
Base + two colors flanking its complement
#4C1D95
#4C1D95
#95891D
#95891D
#29951D
#29951D
Tetradic
Two complementary pairs
#4C1D95
#4C1D95
#951D65
#951D65
#65951D
#65951D
#1D954D
#1D954D
Square
Four colors evenly spaced 90° apart
#4C1D95
#4C1D95
#951D29
#951D29
#65951D
#65951D
#1D9589
#1D9589
Violet 900 in every color space
Full conversion of Violet 900 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#4C1D95
RGB
rgb(76, 29, 149)
CMYK
cmyk(49%, 81%, 0%, 42%)
HSL
hsl(264, 67%, 35%)
HSV
hsv(264, 81%, 58%)
HWB
hwb(264 11% 42%)
CIE Lab
lab(25.5 47.6 -56.9)
OKLCH
oklch(38.0% 0.178 293.7)
XYZ (D65)
xyz(8.84, 4.58, 28.85)
Copy-ready code for Violet 900
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #4C1D95;
background-color: #4C1D95;CSS variable
:root {
--color-violet-900: #4C1D95;
}Tailwind config
// tailwind.config.js
colors: {
'violet-900': '#4C1D95',
}Sass
$color-violet-900: #4C1D95;Swift UIColor
UIColor(red: 0.298, green: 0.114, blue: 0.584, alpha: 1.0)Android XML
<color name="violet-900">#4C1D95</color>Closest match in every color system
The nearest Violet 900 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in Tailwind CSS palette
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 5005
#1E2460
Signal blue
RAL 5002
#20214F
Ultramarine blue
RAL 5022
#252850
Night blue
RAL 5020
#1D334A
Ocean blue
RAL 4005
#6C4675
Blue lilac
RAL 5017
#063971
Traffic blue
FAQ about Violet 900
What is the HEX code for Violet 900?
Violet 900 (violet-900) has the HEX code #4C1D95. In RGB it is rgb(76, 29, 149), and in CMYK it is cmyk(49%, 81%, 0%, 42%).
What is the OKLCH value of Violet 900?
Violet 900 converts to oklch(0.380 0.178 293.7). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Violet 900 accessible for body text?
Used as a background, Violet 900 has a contrast ratio of 1.92:1 with black text and 10.95:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use white text and verify in real UI context.
What is the closest Pantone to Violet 900?
The closest Pantone reference to Violet 900 by ΔE2000 perceptual distance is Pantone Violet C (#440099). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Violet 900?
The closest RAL Classic reference to Violet 900 by ΔE2000 distance is RAL 5005 (Signal blue, #1E2460). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Violet 900?
The complementary color (180° opposite on the HSL color wheel) of Violet 900 is #65951D. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
Tailwind CSS default palette (v3)
The default color palette shipped with Tailwind CSS v3 by Tailwind Labs Inc. Use as a reference for design tokens, web color systems, and Tailwind-based design conversations. Names like 'blue-500' are the project's own naming convention.
- Source type
- derived
- Confidence
- high
- License
- MIT
- Last reviewed
- 2026-05-24
Workflow tags
Tailwind palette values are designed for digital interfaces under sRGB. For print, convert to a process-appropriate value and proof against the substrate; do not rely on sRGB CMYK conversion for color-critical print work.