#2E116A#2E116A
#2E116A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.140 H 289.2°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2E116A |
|---|---|
| RGB | rgb(46, 17, 106) |
| HSL | hsl(260, 72%, 24%) |
| HSV | hsv(260, 84%, 42%) |
| CMYK | cmyk(56.6%, 84%, 0%, 58.4%) |
| CIE-LAB | lab(15.60, 36.65, -46.01) |
| CIE-LCH | lch(15.60, 58.82, 308.53°) |
| OKLab | oklab(28.91% 0.0461 -0.1323) |
| OKLCH | oklch(28.91% 0.14 289.2) |
| XYZ | xyz(3.9279, 2.0222, 13.8162) |
| Luminance | 0.0202 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.04
Dark Indigo
#1F0954
ΔE00 4.15
Indigo (survey)
#380282
ΔE00 4.52
Darkblue (survey)
#030764
ΔE00 4.84
Dark Royal Blue
#02066F
ΔE00 4.85
Deep Blue
#040273
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E116A #4D6A11
analogous
#11206A #2E116A #5B116A
triadic
#2E116A #6A2E11 #116A2E
tetradic
#2E116A #6A1120 #4D6A11 #116A5B
square
#2E116A #6A1120 #4D6A11 #116A5B
split-complementary
#2E116A #6A5B11 #206A11
monochromatic
#0B041A #170935 #2E116A #45199F #5C22D3
Accessibility & contrast
On white
14.95
#2E116A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#2E116A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E116A
14.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E116A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E116A | 1.00 | 14.95 | 1.40 | 14.95 |
| #FFFFFF | 14.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002568
Tritanopia (blue-blind)
#162B3E
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #2e116a; /* rgb */ color: rgb(46, 17, 106); /* oklch */ color: oklch(28.9% 0.140 289.2);
Tailwind
colors: {
custom: {
50: '#6f5396',
500: '#2e116a',
950: '#000000',
},
}SCSS
$custom: #2e116a; $custom-light: #6f5396; $custom-dark: #000000;
JSON
{
"hex": "#2e116a",
"rgb": {
"r": 46,
"g": 17,
"b": 106
},
"hsl": {
"h": 259.551,
"s": 72.358,
"l": 24.118
},
"oklch": {
"l": 0.28914,
"c": 0.14015,
"h": 289.2
},
"luminance": 0.02022
}Semantic roles & 50–950 ramp
primary
#2E116A
secondary
#7EA235
accent
#EF39B4
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030D
muted
#7B787E