#4E3971#4E3971
#4E3971 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.5% C 0.094 H 299.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3971 |
|---|---|
| RGB | rgb(78, 57, 113) |
| HSL | hsl(263, 33%, 33%) |
| HSV | hsv(263, 50%, 44%) |
| CMYK | cmyk(31%, 49.6%, 0%, 55.7%) |
| CIE-LAB | lab(28.74, 22.41, -29.11) |
| CIE-LCH | lch(28.74, 36.74, 307.59°) |
| OKLab | oklab(39.49% 0.0461 -0.0818) |
| OKLCH | oklch(39.49% 0.094 299.4) |
| XYZ | xyz(7.5849, 5.7382, 16.3276) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.20
Blueberry
#464196
ΔE00 8.39
Rebeccapurple
#663399
ΔE00 8.92
Twilight
#4E518B
ΔE00 9.23
Dusk
#4E5481
ΔE00 10.09
Grape
#6C3461
ΔE00 10.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3971 #5C7139
analogous
#394071 #4E3971 #6A3971
triadic
#4E3971 #714E39 #39714E
tetradic
#4E3971 #713940 #5C7139 #39716A
square
#4E3971 #713940 #5C7139 #39716A
split-complementary
#4E3971 #716A39 #407139
monochromatic
#161020 #322448 #4E3971 #6A4E9A #896EB6
Accessibility & contrast
On white
9.78
#4E3971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4E3971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3971
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3971 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#2C4370
Tritanopia (blue-blind)
#47434F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e3971; /* rgb */ color: rgb(78, 57, 113); /* oklch */ color: oklch(39.5% 0.094 299.4);
Tailwind
colors: {
custom: {
50: '#81709a',
500: '#4e3971',
950: '#000000',
},
}SCSS
$custom: #4e3971; $custom-light: #81709a; $custom-dark: #000000;
JSON
{
"hex": "#4e3971",
"rgb": {
"r": 78,
"g": 57,
"b": 113
},
"hsl": {
"h": 262.5,
"s": 32.941,
"l": 33.333
},
"oklch": {
"l": 0.39485,
"c": 0.09386,
"h": 299.4
},
"luminance": 0.05738
}Semantic roles & 50–950 ramp
primary
#4E3971
secondary
#8AA066
accent
#C95FA1
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070E
muted
#7C7A7E