#4E1D9F#4E1D9F
#4E1D9F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.189 H 292.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4E1D9F |
|---|---|
| RGB | rgb(78, 29, 159) |
| HSL | hsl(263, 69%, 37%) |
| HSV | hsv(263, 82%, 62%) |
| CMYK | cmyk(50.9%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(26.74, 50.54, -60.98) |
| CIE-LCH | lch(26.74, 79.20, 309.65°) |
| OKLab | oklab(39.16% 0.0716 -0.1752) |
| OKLCH | oklch(39.16% 0.189 292.2) |
| XYZ | xyz(9.8375, 5.0013, 33.2412) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.67
Violet Blue
#510AC9
ΔE00 5.53
Indigo
#4B0082
ΔE00 5.72
Ultramarine
#2000B1
ΔE00 6.14
Indigo (survey)
#380282
ΔE00 6.36
Rebeccapurple
#663399
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E1D9F #6E9F1D
analogous
#1D2D9F #4E1D9F #8F1D9F
triadic
#4E1D9F #9F4E1D #1D9F4E
tetradic
#4E1D9F #9F1D2D #6E9F1D #1D9F8F
square
#4E1D9F #9F1D2D #6E9F1D #1D9F8F
split-complementary
#4E1D9F #9F8F1D #2D9F1D
monochromatic
#1B0A37 #35146B #4E1D9F #6726D3 #8A56E0
Accessibility & contrast
On white
10.50
#4E1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4E1D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E1D9F
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E1D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E1D9F | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#33435F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4e1d9f; /* rgb */ color: rgb(78, 29, 159); /* oklch */ color: oklch(39.2% 0.189 292.2);
Tailwind
colors: {
custom: {
50: '#8960bd',
500: '#4e1d9f',
950: '#000000',
},
}SCSS
$custom: #4e1d9f; $custom-light: #8960bd; $custom-dark: #000000;
JSON
{
"hex": "#4e1d9f",
"rgb": {
"r": 78,
"g": 29,
"b": 159
},
"hsl": {
"h": 262.615,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.39162,
"c": 0.18926,
"h": 292.2
},
"luminance": 0.05002
}Semantic roles & 50–950 ramp
primary
#4E1D9F
secondary
#9AC454
accent
#EC3CAA
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981