#2E1C6F#2E1C6F
#2E1C6F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.9% C 0.134 H 285.4°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1C6F |
|---|---|
| RGB | rgb(46, 28, 111) |
| HSL | hsl(253, 60%, 27%) |
| HSV | hsv(253, 75%, 44%) |
| CMYK | cmyk(58.6%, 74.8%, 0%, 56.5%) |
| CIE-LAB | lab(18.18, 32.33, -45.04) |
| CIE-LCH | lch(18.18, 55.44, 305.68°) |
| OKLab | oklab(30.88% 0.0356 -0.1296) |
| OKLCH | oklch(30.88% 0.134 285.4) |
| XYZ | xyz(4.4103, 2.5588, 15.2973) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.96
Indigo (survey)
#380282
ΔE00 5.66
Dark Indigo
#1F0954
ΔE00 5.71
Dark Royal Blue
#02066F
ΔE00 5.91
Darkblue (survey)
#030764
ΔE00 5.98
Deep Blue
#040273
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1C6F #5D6F1C
analogous
#1C346F #2E1C6F #581C6F
triadic
#2E1C6F #6F2E1C #1C6F2E
tetradic
#2E1C6F #6F1C34 #5D6F1C #1C6F58
square
#2E1C6F #6F1C34 #5D6F1C #1C6F58
split-complementary
#2E1C6F #6F581C #346F1C
monochromatic
#0A0618 #1A103E #2E1C6F #4228A0 #5938CD
Accessibility & contrast
On white
13.89
#2E1C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#2E1C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1C6F
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1C6F | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#103243
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2e1c6f; /* rgb */ color: rgb(46, 28, 111); /* oklch */ color: oklch(30.9% 0.134 285.4);
Tailwind
colors: {
custom: {
50: '#6f5a99',
500: '#2e1c6f',
950: '#000000',
},
}SCSS
$custom: #2e1c6f; $custom-light: #6f5a99; $custom-dark: #000000;
JSON
{
"hex": "#2e1c6f",
"rgb": {
"r": 46,
"g": 28,
"b": 111
},
"hsl": {
"h": 253.012,
"s": 59.712,
"l": 27.255
},
"oklch": {
"l": 0.30883,
"c": 0.1344,
"h": 285.4
},
"luminance": 0.02559
}Semantic roles & 50–950 ramp
primary
#2E1C6F
secondary
#8FA443
accent
#E345C1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E