#2E1949#2E1949
#2E1949 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 26.9% C 0.086 H 300.9°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1949 |
|---|---|
| RGB | rgb(46, 25, 73) |
| HSL | hsl(266, 49%, 19%) |
| HSV | hsv(266, 66%, 29%) |
| CMYK | cmyk(37%, 65.8%, 0%, 71.4%) |
| CIE-LAB | lab(14.16, 22.13, -26.17) |
| CIE-LCH | lch(14.16, 34.28, 310.22°) |
| OKLab | oklab(26.94% 0.0444 -0.0742) |
| OKLCH | oklch(26.94% 0.086 300.9) |
| XYZ | xyz(2.6767, 1.7571, 6.5002) |
| Luminance | 0.0176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Purple
#35063E
ΔE00 5.95
Midnight Purple
#280137
ΔE00 6.24
Dark Violet
#34013F
ΔE00 6.53
Dark Indigo
#1F0954
ΔE00 6.71
Very Dark Purple
#2A0134
ΔE00 6.72
Deep Purple
#36013F
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1949 #344919
analogous
#191C49 #2E1949 #461949
triadic
#2E1949 #492E19 #19492E
tetradic
#2E1949 #49191C #344919 #194946
square
#2E1949 #49191C #344919 #194946
split-complementary
#2E1949 #494619 #1C4919
monochromatic
#0E0817 #11091B #2E1949 #4B2977 #6738A4
Accessibility & contrast
On white
15.54
#2E1949 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#2E1949 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1949
15.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1949 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1949 | 1.00 | 15.54 | 1.35 | 15.54 |
| #FFFFFF | 15.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02244B
Deuteranopia (green-blind)
#0B2448
Tritanopia (blue-blind)
#28232E
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #2e1949; /* rgb */ color: rgb(46, 25, 73); /* oklch */ color: oklch(26.9% 0.086 300.9);
Tailwind
colors: {
custom: {
50: '#69577c',
500: '#2e1949',
950: '#000000',
},
}SCSS
$custom: #2e1949; $custom-light: #69577c; $custom-dark: #000000;
JSON
{
"hex": "#2e1949",
"rgb": {
"r": 46,
"g": 25,
"b": 73
},
"hsl": {
"h": 266.25,
"s": 48.98,
"l": 19.216
},
"oklch": {
"l": 0.2694,
"c": 0.08645,
"h": 300.9
},
"luminance": 0.01757
}Semantic roles & 50–950 ramp
primary
#2E1949
secondary
#637F3E
accent
#D94F9C
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060309
muted
#7A787B