Mediumpurple4
mediumpurple4 · #5D478B
HEX
#5D478B
RGB
rgb(93, 71, 139)
CMYK
cmyk(33%, 49%, 0%, 45%)
HSL
hsl(259, 32%, 41%)
LAB
lab(35.4, 25.2, -34.7)
What is Mediumpurple4?
Mediumpurple4 is the mediumpurple4 reference in the X11 named colors. Its sRGB value is #5D478B (rgb 93, 71, 139). It sits in the purple family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Mediumpurple4 as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Mediumpurple4
An 11-step tonal scale derived from Mediumpurple4 (#5D478B). 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
#F2F0F6
#F2F0F6
100
#E5E2EC
#E5E2EC
200
#CBC4DA
#CBC4DA
300
#AEA3C5
#AEA3C5
400
#8675A8
#8675A8
500
#5D478B
#5D478B
600
#4F3C76
#4F3C76
700
#3C2E5A
#3C2E5A
800
#2A203F
#2A203F
900
#171223
#171223
950
#0B0911
#0B0911
Lighter tints (mixed with white)
15%
#877DA4
30%
#A59EB8
45%
#BDB9CA
60%
#D2CFDA
75%
#E4E3E9
Darker shades (mixed with black)
15%
#564181
30%
#4E3B76
45%
#453469
60%
#3B2C5A
75%
#2E2248
Color harmonies for Mediumpurple4
Classic color-theory harmonies derived from rotating the hue of Mediumpurple4. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#5D478B
#5D478B
#758A47
#758A47
Triadic
Three colors 120° apart
#5D478B
#5D478B
#8A5C47
#8A5C47
#478A5C
#478A5C
Analogous
Two neighbors ±30° on the wheel
#47538A
#47538A
#5D478B
#5D478B
#7E478A
#7E478A
Split-complementary
Base + two colors flanking its complement
#5D478B
#5D478B
#8A7E47
#8A7E47
#538A47
#538A47
Tetradic
Two complementary pairs
#5D478B
#5D478B
#8A4775
#8A4775
#758A47
#758A47
#478A5C
#478A5C
Square
Four colors evenly spaced 90° apart
#5D478B
#5D478B
#8A4753
#8A4753
#758A47
#758A47
#478A7E
#478A7E
Mediumpurple4 in every color space
Full conversion of Mediumpurple4 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
#5D478B
RGB
rgb(93, 71, 139)
CMYK
cmyk(33%, 49%, 0%, 45%)
HSL
hsl(259, 32%, 41%)
HSV
hsv(259, 49%, 55%)
HWB
hwb(259 28% 45%)
CIE Lab
lab(35.4 25.2 -34.7)
OKLCH
oklch(45.3% 0.109 296.7)
XYZ (D65)
xyz(11.43, 8.70, 25.50)
Copy-ready code for Mediumpurple4
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: #5D478B;
background-color: #5D478B;CSS variable
:root {
--color-mediumpurple4: #5D478B;
}Tailwind config
// tailwind.config.js
colors: {
'mediumpurple4': '#5D478B',
}Sass
$color-mediumpurple4: #5D478B;Swift UIColor
UIColor(red: 0.365, green: 0.278, blue: 0.545, alpha: 1.0)Android XML
<color name="mediumpurple4">#5D478B</color>Closest match in every color system
The nearest Mediumpurple4 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 X11 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 5000
#354D73
Violet blue
RAL 5005
#1E2460
Signal blue
RAL 5007
#3E5F8A
Brilliant blue
RAL 5022
#252850
Night blue
RAL 4001
#6D3F5B
Red lilac
FAQ about Mediumpurple4
What is the HEX code for Mediumpurple4?
Mediumpurple4 (mediumpurple4) has the HEX code #5D478B. In RGB it is rgb(93, 71, 139), and in CMYK it is cmyk(33%, 49%, 0%, 45%).
What is the OKLCH value of Mediumpurple4?
Mediumpurple4 converts to oklch(0.453 0.109 296.7). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Mediumpurple4 accessible for body text?
Used as a background, Mediumpurple4 has a contrast ratio of 2.74:1 with black text and 7.67: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 Mediumpurple4?
The closest Pantone reference to Mediumpurple4 by ΔE2000 perceptual distance is Pantone 261 C (#4B2E83). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Mediumpurple4?
The closest RAL Classic reference to Mediumpurple4 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 Mediumpurple4?
The complementary color (180° opposite on the HSL color wheel) of Mediumpurple4 is #758A47. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
X11 named colors (xorg rgb.txt)
The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.
- Source type
- derived
- Confidence
- high
- License
- MIT/X11 license (X Consortium)
- Last reviewed
- 2026-05-24
Workflow tags
X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.