#2E2634#2E2634
#2E2634 is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.4% C 0.028 H 310.4°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2634 |
|---|---|
| RGB | rgb(46, 38, 52) |
| HSL | hsl(274, 16%, 18%) |
| HSV | hsv(274, 27%, 20%) |
| CMYK | cmyk(11.5%, 26.9%, 0%, 79.6%) |
| CIE-LAB | lab(16.58, 7.07, -7.71) |
| CIE-LCH | lch(16.58, 10.46, 312.53°) |
| OKLab | oklab(28.36% 0.0178 -0.0209) |
| OKLCH | oklch(28.36% 0.028 310.4) |
| XYZ | xyz(2.4396, 2.2150, 3.5472) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark
#1B2431
ΔE00 9.63
Navy Blue
#1B2A4A
ΔE00 10.71
Dark Grey
#363737
ΔE00 11.49
Onyx
#353839
ΔE00 12.09
Very Dark Brown
#1D0200
ΔE00 12.97
Charcoal (survey)
#343837
ΔE00 13.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2634 #2C3426
analogous
#272634 #2E2634 #342633
triadic
#2E2634 #342E26 #26342E
tetradic
#2E2634 #342726 #2C3426 #263334
square
#2E2634 #342726 #2C3426 #263334
split-complementary
#2E2634 #333426 #263427
monochromatic
#100D12 #100D12 #2E2634 #4D4057 #6D5A7B
Accessibility & contrast
On white
14.55
#2E2634 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#2E2634 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2634
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2634 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2634 | 1.00 | 14.55 | 1.44 | 14.55 |
| #FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242935
Deuteranopia (green-blind)
#252934
Tritanopia (blue-blind)
#2D282B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2e2634; /* rgb */ color: rgb(46, 38, 52); /* oklch */ color: oklch(28.4% 0.028 310.4);
Tailwind
colors: {
custom: {
50: '#66606b',
500: '#2e2634',
950: '#000000',
},
}SCSS
$custom: #2e2634; $custom-light: #66606b; $custom-dark: #000000;
JSON
{
"hex": "#2e2634",
"rgb": {
"r": 46,
"g": 38,
"b": 52
},
"hsl": {
"h": 274.286,
"s": 15.556,
"l": 17.647
},
"oklch": {
"l": 0.28357,
"c": 0.0275,
"h": 310.4
},
"luminance": 0.02215
}Semantic roles & 50–950 ramp
primary
#2E2634
secondary
#596551
accent
#B86F8F
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A