Darkviolet
darkviolet · #9400D3
HEX
#9400D3
RGB
rgb(148, 0, 211)
CMYK
cmyk(30%, 100%, 0%, 17%)
HSL
hsl(282, 100%, 41%)
LAB
lab(39.6, 76.3, -70.4)
What is Darkviolet?
Darkviolet is the darkviolet reference in the CSS Named Colors. Its sRGB value is #9400D3 (rgb 148, 0, 211). It sits in the purple family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Darkviolet as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Darkviolet
An 11-step tonal scale derived from Darkviolet (#9400D3). 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
#F6EBFB
#F6EBFB
100
#EED6F8
#EED6F8
200
#DDADF1
#DDADF1
300
#CA80E9
#CA80E9
400
#AF40DE
#AF40DE
500
#9400D3
#9400D3
600
#7E00B3
#7E00B3
700
#600089
#600089
800
#43005F
#43005F
900
#250035
#250035
950
#120019
#120019
Lighter tints (mixed with white)
15%
#AA6CDA
30%
#BD95E1
45%
#CDB3E8
60%
#DCCBEF
75%
#EAE1F5
Darker shades (mixed with black)
15%
#8900C4
30%
#7E00B4
45%
#7000A1
60%
#61008C
75%
#4D0070
Color harmonies for Darkviolet
Classic color-theory harmonies derived from rotating the hue of Darkviolet. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#9400D3
#9400D3
#3FD100
#3FD100
Triadic
Three colors 120° apart
#9400D3
#9400D3
#D19200
#D19200
#00D192
#00D192
Analogous
Two neighbors ±30° on the wheel
#2A00D1
#2A00D1
#9400D3
#9400D3
#D100A7
#D100A7
Split-complementary
Base + two colors flanking its complement
#9400D3
#9400D3
#A7D100
#A7D100
#00D12A
#00D12A
Tetradic
Two complementary pairs
#9400D3
#9400D3
#D1003F
#D1003F
#3FD100
#3FD100
#00D192
#00D192
Square
Four colors evenly spaced 90° apart
#9400D3
#9400D3
#D12A00
#D12A00
#3FD100
#3FD100
#00A7D1
#00A7D1
Darkviolet in every color space
Full conversion of Darkviolet 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
#9400D3
RGB
rgb(148, 0, 211)
CMYK
cmyk(30%, 100%, 0%, 17%)
HSL
hsl(282, 100%, 41%)
HSV
hsv(282, 100%, 83%)
HWB
hwb(282 0% 17%)
CIE Lab
lab(39.6 76.3 -70.4)
OKLCH
oklch(51.5% 0.261 309.8)
XYZ (D65)
xyz(23.97, 11.00, 62.48)
Copy-ready code for Darkviolet
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: #9400D3;
background-color: #9400D3;CSS variable
:root {
--color-darkviolet: #9400D3;
}Tailwind config
// tailwind.config.js
colors: {
'darkviolet': '#9400D3',
}Sass
$color-darkviolet: #9400D3;Swift UIColor
UIColor(red: 0.580, green: 0.000, blue: 0.827, alpha: 1.0)Android XML
<color name="darkviolet">#9400D3</color>Closest match in every color system
The nearest Darkviolet 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 CSS Named Colors
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 4005
#6C4675
Blue lilac
RAL 4006
#A03472
Traffic purple
RAL 7011
#434B4D
Iron grey
RAL 4008
#924E7D
Signal violet
RAL 6012
#343E40
Black green
RAL 7031
#474B4E
Blue grey
FAQ about Darkviolet
What is the HEX code for Darkviolet?
Darkviolet (darkviolet) has the HEX code #9400D3. In RGB it is rgb(148, 0, 211), and in CMYK it is cmyk(30%, 100%, 0%, 17%).
What is the OKLCH value of Darkviolet?
Darkviolet converts to oklch(0.515 0.261 309.8). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Darkviolet accessible for body text?
Used as a background, Darkviolet has a contrast ratio of 3.20:1 with black text and 6.56: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 Darkviolet?
The closest Pantone reference to Darkviolet by ΔE2000 perceptual distance is Pantone 254 C (#9B26B6). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Darkviolet?
The closest RAL Classic reference to Darkviolet by ΔE2000 distance is RAL 4005 (Blue lilac, #6C4675). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Darkviolet?
The complementary color (180° opposite on the HSL color wheel) of Darkviolet is #3FD100. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
CSS Named Colors (CSS Color Module Level 4)
The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.
- Source type
- derived
- Confidence
- high
- License
- W3C permissive document license
- Last reviewed
- 2026-05-24
Workflow tags
CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.