#2E116F#2E116F
#2E116F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.146 H 287.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2E116F |
|---|---|
| RGB | rgb(46, 17, 111) |
| HSL | hsl(259, 73%, 25%) |
| HSV | hsv(259, 85%, 44%) |
| CMYK | cmyk(58.6%, 84.7%, 0%, 56.5%) |
| CIE-LAB | lab(16.15, 38.13, -48.38) |
| CIE-LCH | lch(16.15, 61.59, 308.24°) |
| OKLab | oklab(29.46% 0.0443 -0.1393) |
| OKLCH | oklch(29.46% 0.146 287.6) |
| XYZ | xyz(4.1956, 2.1292, 15.2257) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.81
Indigo (survey)
#380282
ΔE00 3.81
Dark Royal Blue
#02066F
ΔE00 4.54
Deep Blue
#040273
ΔE00 4.71
Darkblue (survey)
#030764
ΔE00 4.85
Dark Indigo
#1F0954
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E116F #526F11
analogous
#11236F #2E116F #5D116F
triadic
#2E116F #6F2E11 #116F2E
tetradic
#2E116F #6F1123 #526F11 #116F5D
square
#2E116F #6F1123 #526F11 #116F5D
split-complementary
#2E116F #6F5D11 #236F11
monochromatic
#0B041B #18093A #2E116F #4419A4 #5A21D9
Accessibility & contrast
On white
14.73
#2E116F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2E116F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E116F
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E116F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E116F | 1.00 | 14.73 | 1.43 | 14.73 |
| #FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#112D41
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2e116f; /* rgb */ color: rgb(46, 17, 111); /* oklch */ color: oklch(29.5% 0.146 287.6);
Tailwind
colors: {
custom: {
50: '#705499',
500: '#2e116f',
950: '#000000',
},
}SCSS
$custom: #2e116f; $custom-light: #705499; $custom-dark: #000000;
JSON
{
"hex": "#2e116f",
"rgb": {
"r": 46,
"g": 17,
"b": 111
},
"hsl": {
"h": 258.511,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.29458,
"c": 0.14614,
"h": 287.6
},
"luminance": 0.02129
}Semantic roles & 50–950 ramp
primary
#2E116F
secondary
#84A635
accent
#F038B7
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E