Skip to content
PantoneTools
purple
Tailwind CSS palette

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

Sample text · 1.92 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 10.95 : 1
AA Normal
AA Large
AAA Normal
AAA Large

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.

Copied #F1EDF7

50

#F1EDF7

#F1EDF7

Copied #E2DBEE

100

#E2DBEE

#E2DBEE

Copied #C6B7DD

200

#C6B7DD

#C6B7DD

Copied #A68ECA

300

#A68ECA

#A68ECA

Copied #7956B0

400

#7956B0

#7956B0

Copied #4C1D95

500

#4C1D95

#4C1D95

Copied #41197F

600

#41197F

#41197F

Copied #311361

700

#311361

#311361

Copied #220D43

800

#220D43

#220D43

Copied #130725

900

#130725

#130725

Copied #090312

950

#090312

#090312

Lighter tints (mixed with white)

Copied #7F6FAB

15%

#7F6FAB

Copied #A097BD

30%

#A097BD

Copied #BAB4CE

45%

#BAB4CE

Copied #D0CCDD

60%

#D0CCDD

Copied #E3E1EA

75%

#E3E1EA

Darker shades (mixed with black)

Copied #461A8A

15%

#461A8A

Copied #40177E

30%

#40177E

Copied #381471

45%

#381471

Copied #2F0F61

60%

#2F0F61

Copied #240A4D

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

Copied #4C1D95

#4C1D95

#4C1D95

Copied #65951D

#65951D

#65951D

Triadic

Three colors 120° apart

Copied #4C1D95

#4C1D95

#4C1D95

Copied #954D1D

#954D1D

#954D1D

Copied #1D954D

#1D954D

#1D954D

Analogous

Two neighbors ±30° on the wheel

Copied #1D2995

#1D2995

#1D2995

Copied #4C1D95

#4C1D95

#4C1D95

Copied #891D95

#891D95

#891D95

Split-complementary

Base + two colors flanking its complement

Copied #4C1D95

#4C1D95

#4C1D95

Copied #95891D

#95891D

#95891D

Copied #29951D

#29951D

#29951D

Tetradic

Two complementary pairs

Copied #4C1D95

#4C1D95

#4C1D95

Copied #951D65

#951D65

#951D65

Copied #65951D

#65951D

#65951D

Copied #1D954D

#1D954D

#1D954D

Square

Four colors evenly spaced 90° apart

Copied #4C1D95

#4C1D95

#4C1D95

Copied #951D29

#951D29

#951D29

Copied #65951D

#65951D

#65951D

Copied #1D9589

#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.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #1E2460

RAL 5005

#1E2460

Signal blue

Copied #20214F

RAL 5002

#20214F

Ultramarine blue

Copied #252850

RAL 5022

#252850

Night blue

Copied #1D334A

RAL 5020

#1D334A

Ocean blue

Copied #6C4675

RAL 4005

#6C4675

Blue lilac

Copied #063971

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
design-token
web-system
purple

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.

Tailwind CSS palette · Violet 900 — #4C1D95 | PantoneTools