#4E4282#4E4282
#4E4282 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.3% C 0.104 H 289.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4282 |
|---|---|
| RGB | rgb(78, 66, 130) |
| HSL | hsl(251, 33%, 38%) |
| HSV | hsv(251, 49%, 51%) |
| CMYK | cmyk(40%, 49.2%, 0%, 49%) |
| CIE-LAB | lab(32.10, 21.58, -34.45) |
| CIE-LCH | lch(32.10, 40.66, 302.06°) |
| OKLab | oklab(42.33% 0.0352 -0.0974) |
| OKLCH | oklch(42.33% 0.104 289.9) |
| XYZ | xyz(9.1183, 7.1276, 22.0101) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.14
Blueberry
#464196
ΔE00 4.70
Twilight
#4E518B
ΔE00 5.40
Dusk
#4E5481
ΔE00 7.03
Rebeccapurple
#663399
ΔE00 8.30
Ocean Blue
#4F42B5
ΔE00 8.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4282 #768242
analogous
#425682 #4E4282 #6E4282
triadic
#4E4282 #824E42 #42824E
tetradic
#4E4282 #824256 #768242 #42826E
square
#4E4282 #824256 #768242 #42826E
split-complementary
#4E4282 #826E42 #568242
monochromatic
#1D1931 #362D59 #4E4282 #6757AA #8C80BE
Accessibility & contrast
On white
8.66
#4E4282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#4E4282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4282
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4282 | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#2B4A81
Tritanopia (blue-blind)
#404F5C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4e4282; /* rgb */ color: rgb(78, 66, 130); /* oklch */ color: oklch(42.3% 0.104 289.9);
Tailwind
colors: {
custom: {
50: '#8276a7',
500: '#4e4282',
950: '#000000',
},
}SCSS
$custom: #4e4282; $custom-light: #8276a7; $custom-dark: #000000;
JSON
{
"hex": "#4e4282",
"rgb": {
"r": 78,
"g": 66,
"b": 130
},
"hsl": {
"h": 251.25,
"s": 32.653,
"l": 38.431
},
"oklch": {
"l": 0.4233,
"c": 0.10355,
"h": 289.9
},
"luminance": 0.07128
}Semantic roles & 50–950 ramp
primary
#4E4282
secondary
#A0A977
accent
#C95FB5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F