#2E115B#2E115B
#2E115B is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.122 H 294.8°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2E115B |
|---|---|
| RGB | rgb(46, 17, 91) |
| HSL | hsl(264, 69%, 21%) |
| HSV | hsv(264, 81%, 36%) |
| CMYK | cmyk(49.5%, 81.3%, 0%, 64.3%) |
| CIE-LAB | lab(14.04, 32.21, -38.62) |
| CIE-LCH | lch(14.04, 50.29, 309.83°) |
| OKLab | oklab(27.35% 0.0511 -0.1107) |
| OKLCH | oklch(27.35% 0.122 294.8) |
| XYZ | xyz(3.2150, 1.7370, 10.0614) |
| Luminance | 0.0174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.84
Midnight Blue
#191970
ΔE00 5.82
Darkblue (survey)
#030764
ΔE00 5.99
Dark Blue
#00035B
ΔE00 6.18
Royal Purple (survey)
#4B006E
ΔE00 6.33
Night Blue
#040348
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E115B #3E5B11
analogous
#11195B #2E115B #53115B
triadic
#2E115B #5B2E11 #115B2E
tetradic
#2E115B #5B1119 #3E5B11 #115B53
square
#2E115B #5B1119 #3E5B11 #115B53
split-complementary
#2E115B #5B5311 #195B11
monochromatic
#0D051A #140727 #2E115B #481B8F #6224C2
Accessibility & contrast
On white
15.59
#2E115B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#2E115B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E115B
15.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E115B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E115B | 1.00 | 15.59 | 1.35 | 15.59 |
| #FFFFFF | 15.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#00225A
Tritanopia (blue-blind)
#212535
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #2e115b; /* rgb */ color: rgb(46, 17, 91); /* oklch */ color: oklch(27.4% 0.122 294.8);
Tailwind
colors: {
custom: {
50: '#6c528a',
500: '#2e115b',
950: '#000000',
},
}SCSS
$custom: #2e115b; $custom-light: #6c528a; $custom-dark: #000000;
JSON
{
"hex": "#2e115b",
"rgb": {
"r": 46,
"g": 17,
"b": 91
},
"hsl": {
"h": 263.514,
"s": 68.519,
"l": 21.176
},
"oklch": {
"l": 0.27351,
"c": 0.12191,
"h": 294.8
},
"luminance": 0.01737
}Semantic roles & 50–950 ramp
primary
#2E115B
secondary
#6E9434
accent
#EB3CA7
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D