#2E0B4A#2E0B4A
#2E0B4A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.109 H 304.7°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2E0B4A |
|---|---|
| RGB | rgb(46, 11, 74) |
| HSL | hsl(273, 74%, 17%) |
| HSV | hsv(273, 85%, 29%) |
| CMYK | cmyk(37.8%, 85.1%, 0%, 71%) |
| CIE-LAB | lab(11.38, 30.34, -31.36) |
| CIE-LCH | lch(11.38, 43.63, 314.05°) |
| OKLab | oklab(24.97% 0.0619 -0.0893) |
| OKLCH | oklch(24.97% 0.109 304.7) |
| XYZ | xyz(2.4821, 1.3146, 6.6002) |
| Luminance | 0.0132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Violet
#34013F
ΔE00 3.97
Midnight Purple
#280137
ΔE00 4.13
Dark Purple
#35063E
ΔE00 4.28
Deep Purple
#36013F
ΔE00 4.37
Dark Indigo
#1F0954
ΔE00 4.47
Very Dark Purple
#2A0134
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E0B4A #274A0B
analogous
#0E0B4A #2E0B4A #4A0B47
triadic
#2E0B4A #4A2E0B #0B4A2E
tetradic
#2E0B4A #4A0E0B #274A0B #0B474A
square
#2E0B4A #4A0E0B #274A0B #0B474A
split-complementary
#2E0B4A #474A0B #0B4A0E
monochromatic
#11041B #11041B #2E0B4A #4F137F #701BB5
Accessibility & contrast
On white
16.63
#2E0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.26
#2E0B4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E0B4A
16.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E0B4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E0B4A | 1.00 | 16.63 | 1.26 | 16.63 |
| #FFFFFF | 16.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#291B2A
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #2e0b4a; /* rgb */ color: rgb(46, 11, 74); /* oklch */ color: oklch(25.0% 0.109 304.7);
Tailwind
colors: {
custom: {
50: '#6a4e7d',
500: '#2e0b4a',
950: '#000000',
},
}SCSS
$custom: #2e0b4a; $custom-light: #6a4e7d; $custom-dark: #000000;
JSON
{
"hex": "#2e0b4a",
"rgb": {
"r": 46,
"g": 11,
"b": 74
},
"hsl": {
"h": 273.333,
"s": 74.118,
"l": 16.667
},
"oklch": {
"l": 0.24974,
"c": 0.10869,
"h": 304.7
},
"luminance": 0.01315
}Semantic roles & 50–950 ramp
primary
#2E0B4A
secondary
#53862B
accent
#F1378A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C