#4E4283#4E4283
#4E4283 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.4% C 0.105 H 289.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4283 |
|---|---|
| RGB | rgb(78, 66, 131) |
| HSL | hsl(251, 33%, 39%) |
| HSV | hsv(251, 50%, 51%) |
| CMYK | cmyk(40.5%, 49.6%, 0%, 48.6%) |
| CIE-LAB | lab(32.16, 21.88, -34.98) |
| CIE-LCH | lch(32.16, 41.26, 302.03°) |
| OKLab | oklab(42.4% 0.0353 -0.0989) |
| OKLCH | oklch(42.4% 0.105 289.6) |
| XYZ | xyz(9.1857, 7.1546, 22.3653) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.95
Blueberry
#464196
ΔE00 4.48
Twilight
#4E518B
ΔE00 5.37
Dusk
#4E5481
ΔE00 7.07
Rebeccapurple
#663399
ΔE00 8.18
Ocean Blue
#4F42B5
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4283 #778342
analogous
#425683 #4E4283 #6E4283
triadic
#4E4283 #834E42 #42834E
tetradic
#4E4283 #834256 #778342 #42836E
square
#4E4283 #834256 #778342 #42836E
split-complementary
#4E4283 #836E42 #568342
monochromatic
#1E1932 #362D5A #4E4283 #6758AB #8C80BF
Accessibility & contrast
On white
8.64
#4E4283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#4E4283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4283
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4283 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294D85
Deuteranopia (green-blind)
#2A4A81
Tritanopia (blue-blind)
#404F5C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4e4283; /* rgb */ color: rgb(78, 66, 131); /* oklch */ color: oklch(42.4% 0.105 289.6);
Tailwind
colors: {
custom: {
50: '#8276a7',
500: '#4e4283',
950: '#000000',
},
}SCSS
$custom: #4e4283; $custom-light: #8276a7; $custom-dark: #000000;
JSON
{
"hex": "#4e4283",
"rgb": {
"r": 78,
"g": 66,
"b": 131
},
"hsl": {
"h": 251.077,
"s": 32.995,
"l": 38.627
},
"oklch": {
"l": 0.42395,
"c": 0.10503,
"h": 289.6
},
"luminance": 0.07155
}Semantic roles & 50–950 ramp
primary
#4E4283
secondary
#A1AA77
accent
#C95FB5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F