#2E243B#2E243B
#2E243B is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.3% C 0.043 H 303.7°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2E243B |
|---|---|
| RGB | rgb(46, 36, 59) |
| HSL | hsl(266, 24%, 19%) |
| HSV | hsv(266, 39%, 23%) |
| CMYK | cmyk(22%, 39%, 0%, 76.9%) |
| CIE-LAB | lab(16.30, 10.41, -13.05) |
| CIE-LCH | lch(16.30, 16.69, 308.58°) |
| OKLab | oklab(28.25% 0.024 -0.036) |
| OKLCH | oklch(28.25% 0.043 303.7) |
| XYZ | xyz(2.5468, 2.1584, 4.4193) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.62
Navy (survey)
#01153E
ΔE00 11.16
Eggplant
#380835
ΔE00 11.30
Midnight
#03012D
ΔE00 11.67
Dark
#1B2431
ΔE00 11.72
Dark Purple
#35063E
ΔE00 11.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E243B #313B24
analogous
#24253B #2E243B #39243B
triadic
#2E243B #3B2E24 #243B2E
tetradic
#2E243B #3B2425 #313B24 #243B39
square
#2E243B #3B2425 #313B24 #243B39
split-complementary
#2E243B #3B3924 #253B24
monochromatic
#0F0C13 #100D15 #2E243B #4C3B61 #695287
Accessibility & contrast
On white
14.67
#2E243B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2E243B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E243B
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E243B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E243B | 1.00 | 14.67 | 1.43 | 14.67 |
| #FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#21283A
Tritanopia (blue-blind)
#2C272C
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2e243b; /* rgb */ color: rgb(46, 36, 59); /* oklch */ color: oklch(28.3% 0.043 303.7);
Tailwind
colors: {
custom: {
50: '#675e71',
500: '#2e243b',
950: '#000000',
},
}SCSS
$custom: #2e243b; $custom-light: #675e71; $custom-dark: #000000;
JSON
{
"hex": "#2e243b",
"rgb": {
"r": 46,
"g": 36,
"b": 59
},
"hsl": {
"h": 266.087,
"s": 24.211,
"l": 18.627
},
"oklch": {
"l": 0.28253,
"c": 0.04331,
"h": 303.7
},
"luminance": 0.02158
}Semantic roles & 50–950 ramp
primary
#2E243B
secondary
#5F6D4E
accent
#C1679A
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A