#4E4173#4E4173
#4E4173 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.2% C 0.083 H 294.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4173 |
|---|---|
| RGB | rgb(78, 65, 115) |
| HSL | hsl(256, 28%, 35%) |
| HSV | hsv(256, 43%, 45%) |
| CMYK | cmyk(32.2%, 43.5%, 0%, 54.9%) |
| CIE-LAB | lab(30.97, 17.82, -26.86) |
| CIE-LCH | lch(30.97, 32.23, 303.56°) |
| OKLab | oklab(41.2% 0.0342 -0.0752) |
| OKLCH | oklch(41.2% 0.083 294.5) |
| XYZ | xyz(8.1259, 6.6380, 17.0695) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.43
Twilight
#4E518B
ΔE00 7.04
Dusk
#4E5481
ΔE00 7.43
Blueberry
#464196
ΔE00 8.17
Rebeccapurple
#663399
ΔE00 10.35
Grape
#6C3461
ΔE00 11.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4173 #667341
analogous
#414D73 #4E4173 #674173
triadic
#4E4173 #734E41 #41734E
tetradic
#4E4173 #73414D #667341 #417367
square
#4E4173 #73414D #667341 #417367
split-complementary
#4E4173 #736741 #4D7341
monochromatic
#191525 #332B4C #4E4173 #69579A #897AB4
Accessibility & contrast
On white
9.02
#4E4173 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#4E4173 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4173
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4173 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4173 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324975
Deuteranopia (green-blind)
#344872
Tritanopia (blue-blind)
#464A54
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4e4173; /* rgb */ color: rgb(78, 65, 115); /* oklch */ color: oklch(41.2% 0.083 294.5);
Tailwind
colors: {
custom: {
50: '#81759b',
500: '#4e4173',
950: '#000000',
},
}SCSS
$custom: #4e4173; $custom-light: #81759b; $custom-dark: #000000;
JSON
{
"hex": "#4e4173",
"rgb": {
"r": 78,
"g": 65,
"b": 115
},
"hsl": {
"h": 255.6,
"s": 27.778,
"l": 35.294
},
"oklch": {
"l": 0.41199,
"c": 0.08264,
"h": 294.5
},
"luminance": 0.06638
}Semantic roles & 50–950 ramp
primary
#4E4173
secondary
#939F71
accent
#C464AB
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E