#4E2E6F#4E2E6F
#4E2E6F is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.4% C 0.110 H 304.3°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2E6F |
|---|---|
| RGB | rgb(78, 46, 111) |
| HSL | hsl(270, 41%, 31%) |
| HSV | hsv(270, 59%, 44%) |
| CMYK | cmyk(29.7%, 58.6%, 0%, 56.5%) |
| CIE-LAB | lab(25.93, 28.74, -32.32) |
| CIE-LCH | lch(25.93, 43.25, 311.65°) |
| OKLab | oklab(37.35% 0.0622 -0.0911) |
| OKLCH | oklch(37.35% 0.11 304.3) |
| XYZ | xyz(6.9875, 4.7214, 15.5791) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 7.36
Rebeccapurple
#663399
ΔE00 8.03
Royal Purple (survey)
#4B006E
ΔE00 8.53
Indigo
#4B0082
ΔE00 9.34
Darkish Purple
#751973
ΔE00 9.57
Blueberry
#464196
ΔE00 9.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2E6F #4F6F2E
analogous
#2E2F6F #4E2E6F #6E2E6F
triadic
#4E2E6F #6F4E2E #2E6F4E
tetradic
#4E2E6F #6F2E2F #4F6F2E #2E6F6E
square
#4E2E6F #6F2E2F #4F6F2E #2E6F6E
split-complementary
#4E2E6F #6F6E2E #2F6F2E
monochromatic
#110A18 #301C44 #4E2E6F #6C409A #8B5CBB
Accessibility & contrast
On white
10.80
#4E2E6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4E2E6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2E6F
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2E6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2E6F | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#213D6D
Tritanopia (blue-blind)
#483A4A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4e2e6f; /* rgb */ color: rgb(78, 46, 111); /* oklch */ color: oklch(37.4% 0.110 304.3);
Tailwind
colors: {
custom: {
50: '#826899',
500: '#4e2e6f',
950: '#000000',
},
}SCSS
$custom: #4e2e6f; $custom-light: #826899; $custom-dark: #000000;
JSON
{
"hex": "#4e2e6f",
"rgb": {
"r": 78,
"g": 46,
"b": 111
},
"hsl": {
"h": 269.538,
"s": 41.401,
"l": 30.784
},
"oklch": {
"l": 0.37355,
"c": 0.11032,
"h": 304.3
},
"luminance": 0.04721
}Semantic roles & 50–950 ramp
primary
#4E2E6F
secondary
#7DA058
accent
#D15795
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E