#4E2294#4E2294
#4E2294 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.172 H 294.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2294 |
|---|---|
| RGB | rgb(78, 34, 148) |
| HSL | hsl(263, 63%, 36%) |
| HSV | hsv(263, 77%, 58%) |
| CMYK | cmyk(47.3%, 77%, 0%, 42%) |
| CIE-LAB | lab(26.45, 45.40, -54.71) |
| CIE-LCH | lch(26.45, 71.09, 309.68°) |
| OKLab | oklab(38.64% 0.0712 -0.1569) |
| OKLCH | oklch(38.64% 0.172 294.4) |
| XYZ | xyz(9.0577, 4.9016, 28.4801) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.23
Indigo
#4B0082
ΔE00 5.29
Rebeccapurple
#663399
ΔE00 5.66
Indigo (survey)
#380282
ΔE00 6.18
Violet Blue
#510AC9
ΔE00 7.29
Royal
#0C1793
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2294 #689422
analogous
#222F94 #4E2294 #872294
triadic
#4E2294 #944E22 #22944E
tetradic
#4E2294 #94222F #689422 #229487
square
#4E2294 #94222F #689422 #229487
split-complementary
#4E2294 #948722 #2F9422
monochromatic
#1A0B30 #341762 #4E2294 #682DC6 #8A58D9
Accessibility & contrast
On white
10.60
#4E2294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#4E2294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2294
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2294 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#39415A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4e2294; /* rgb */ color: rgb(78, 34, 148); /* oklch */ color: oklch(38.6% 0.172 294.4);
Tailwind
colors: {
custom: {
50: '#8762b4',
500: '#4e2294',
950: '#000000',
},
}SCSS
$custom: #4e2294; $custom-light: #8762b4; $custom-dark: #000000;
JSON
{
"hex": "#4e2294",
"rgb": {
"r": 78,
"g": 34,
"b": 148
},
"hsl": {
"h": 263.158,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.38644,
"c": 0.17225,
"h": 294.4
},
"luminance": 0.04902
}Semantic roles & 50–950 ramp
primary
#4E2294
secondary
#95BD55
accent
#E642A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80