Violet 800
violet-800 · #5B21B6
HEX
#5B21B6
RGB
rgb(91, 33, 182)
CMYK
cmyk(50%, 82%, 0%, 29%)
HSL
hsl(263, 69%, 42%)
LAB
lab(31.1, 56.6, -67.6)
What is Violet 800?
Violet 800 is the violet-800 reference in the Tailwind CSS palette. Its sRGB value is #5B21B6 (rgb 91, 33, 182). 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 800 as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Violet 800
An 11-step tonal scale derived from Violet 800 (#5B21B6). 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
#F2EDF9
#F2EDF9
100
#E5DBF3
#E5DBF3
200
#CBB8E8
#CBB8E8
300
#AD90DB
#AD90DB
400
#8459C8
#8459C8
500
#5B21B6
#5B21B6
600
#4D1C9B
#4D1C9B
700
#3B1576
#3B1576
800
#290F52
#290F52
900
#17082E
#17082E
950
#0B0416
#0B0416
Lighter tints (mixed with white)
15%
#8670C3
30%
#A497D0
45%
#BDB4DB
60%
#D2CCE5
75%
#E4E1EF
Darker shades (mixed with black)
15%
#541EA9
30%
#4C1B9B
45%
#44178B
60%
#3A1278
75%
#2D0C60
Color harmonies for Violet 800
Classic color-theory harmonies derived from rotating the hue of Violet 800. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#5B21B6
#5B21B6
#7CB521
#7CB521
Triadic
Three colors 120° apart
#5B21B6
#5B21B6
#B55A21
#B55A21
#21B55A
#21B55A
Analogous
Two neighbors ±30° on the wheel
#2132B5
#2132B5
#5B21B6
#5B21B6
#A421B5
#A421B5
Split-complementary
Base + two colors flanking its complement
#5B21B6
#5B21B6
#B5A421
#B5A421
#32B521
#32B521
Tetradic
Two complementary pairs
#5B21B6
#5B21B6
#B5217C
#B5217C
#7CB521
#7CB521
#21B55A
#21B55A
Square
Four colors evenly spaced 90° apart
#5B21B6
#5B21B6
#B52132
#B52132
#7CB521
#7CB521
#21B5A4
#21B5A4
Violet 800 in every color space
Full conversion of Violet 800 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
#5B21B6
RGB
rgb(91, 33, 182)
CMYK
cmyk(50%, 82%, 0%, 29%)
HSL
hsl(263, 69%, 42%)
HSV
hsv(263, 82%, 71%)
HWB
hwb(263 13% 29%)
CIE Lab
lab(31.1 56.6 -67.6)
OKLCH
oklch(43.2% 0.211 292.8)
XYZ (D65)
xyz(13.30, 6.69, 44.84)
Copy-ready code for Violet 800
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: #5B21B6;
background-color: #5B21B6;CSS variable
:root {
--color-violet-800: #5B21B6;
}Tailwind config
// tailwind.config.js
colors: {
'violet-800': '#5B21B6',
}Sass
$color-violet-800: #5B21B6;Swift UIColor
UIColor(red: 0.357, green: 0.129, blue: 0.714, alpha: 1.0)Android XML
<color name="violet-800">#5B21B6</color>Closest match in every color system
The nearest Violet 800 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 4005
#6C4675
Blue lilac
RAL 5000
#354D73
Violet blue
RAL 5020
#1D334A
Ocean blue
RAL 7011
#434B4D
Iron grey
RAL 5017
#063971
Traffic blue
FAQ about Violet 800
What is the HEX code for Violet 800?
Violet 800 (violet-800) has the HEX code #5B21B6. In RGB it is rgb(91, 33, 182), and in CMYK it is cmyk(50%, 82%, 0%, 29%).
What is the OKLCH value of Violet 800?
Violet 800 converts to oklch(0.432 0.211 292.8). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Violet 800 accessible for body text?
Used as a background, Violet 800 has a contrast ratio of 2.34:1 with black text and 8.98: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 800?
The closest Pantone reference to Violet 800 by ΔE2000 perceptual distance is Pantone 267 C (#5F249F). 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 800?
The closest RAL Classic reference to Violet 800 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 800?
The complementary color (180° opposite on the HSL color wheel) of Violet 800 is #7CB521. 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.