#2E1E6A#2E1E6A
#2E1E6A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.125 H 286.1°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1E6A |
|---|---|
| RGB | rgb(46, 30, 106) |
| HSL | hsl(253, 56%, 27%) |
| HSV | hsv(253, 72%, 42%) |
| CMYK | cmyk(56.6%, 71.7%, 0%, 58.4%) |
| CIE-LAB | lab(18.14, 29.49, -41.85) |
| CIE-LCH | lch(18.14, 51.19, 305.17°) |
| OKLab | oklab(30.71% 0.0347 -0.1202) |
| OKLCH | oklch(30.71% 0.125 286.1) |
| XYZ | xyz(4.1917, 2.5498, 13.9042) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.48
Dark Indigo
#1F0954
ΔE00 5.58
Darkblue (survey)
#030764
ΔE00 6.46
Dark Royal Blue
#02066F
ΔE00 6.67
Indigo (survey)
#380282
ΔE00 6.77
Deep Blue
#040273
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1E6A #5A6A1E
analogous
#1E346A #2E1E6A #541E6A
triadic
#2E1E6A #6A2E1E #1E6A2E
tetradic
#2E1E6A #6A1E34 #5A6A1E #1E6A54
square
#2E1E6A #6A1E34 #5A6A1E #1E6A54
split-complementary
#2E1E6A #6A541E #346A1E
monochromatic
#0A0718 #19113A #2E1E6A #432C9A #593BC7
Accessibility & contrast
On white
13.91
#2E1E6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#2E1E6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1E6A
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1E6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1E6A | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#153141
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2e1e6a; /* rgb */ color: rgb(46, 30, 106); /* oklch */ color: oklch(30.7% 0.125 286.1);
Tailwind
colors: {
custom: {
50: '#6e5b95',
500: '#2e1e6a',
950: '#000000',
},
}SCSS
$custom: #2e1e6a; $custom-light: #6e5b95; $custom-dark: #000000;
JSON
{
"hex": "#2e1e6a",
"rgb": {
"r": 46,
"g": 30,
"b": 106
},
"hsl": {
"h": 252.632,
"s": 55.882,
"l": 26.667
},
"oklch": {
"l": 0.30707,
"c": 0.12515,
"h": 286.1
},
"luminance": 0.0255
}Semantic roles & 50–950 ramp
primary
#2E1E6A
secondary
#8C9E45
accent
#DF49BF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040D
muted
#7B797E