#2E1E6E#2E1E6E
#2E1E6E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.131 H 285.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1E6E |
|---|---|
| RGB | rgb(46, 30, 110) |
| HSL | hsl(252, 57%, 27%) |
| HSV | hsv(252, 73%, 43%) |
| CMYK | cmyk(58.2%, 72.7%, 0%, 56.9%) |
| CIE-LAB | lab(18.52, 30.81, -43.84) |
| CIE-LCH | lch(18.52, 53.58, 305.10°) |
| OKLab | oklab(31.09% 0.034 -0.1261) |
| OKLCH | oklch(31.09% 0.131 285.1) |
| XYZ | xyz(4.4046, 2.6349, 15.0253) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.10
Dark Indigo
#1F0954
ΔE00 5.92
Indigo (survey)
#380282
ΔE00 6.24
Darkblue (survey)
#030764
ΔE00 6.34
Dark Royal Blue
#02066F
ΔE00 6.36
Deep Blue
#040273
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1E6E #5E6E1E
analogous
#1E366E #2E1E6E #561E6E
triadic
#2E1E6E #6E2E1E #1E6E2E
tetradic
#2E1E6E #6E1E36 #5E6E1E #1E6E56
square
#2E1E6E #6E1E36 #5E6E1E #1E6E56
split-complementary
#2E1E6E #6E561E #366E1E
monochromatic
#0A0718 #1A113E #2E1E6E #422B9E #593CCA
Accessibility & contrast
On white
13.75
#2E1E6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#2E1E6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1E6E
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1E6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1E6E | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#113343
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #2e1e6e; /* rgb */ color: rgb(46, 30, 110); /* oklch */ color: oklch(31.1% 0.131 285.1);
Tailwind
colors: {
custom: {
50: '#6e5b98',
500: '#2e1e6e',
950: '#000000',
},
}SCSS
$custom: #2e1e6e; $custom-light: #6e5b98; $custom-dark: #000000;
JSON
{
"hex": "#2e1e6e",
"rgb": {
"r": 46,
"g": 30,
"b": 110
},
"hsl": {
"h": 252,
"s": 57.143,
"l": 27.451
},
"oklch": {
"l": 0.31093,
"c": 0.13058,
"h": 285.1
},
"luminance": 0.02635
}Semantic roles & 50–950 ramp
primary
#2E1E6E
secondary
#90A246
accent
#E047C2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E