#2C262F#2C262F
#2C262F is a dark, near-neutral purple. Relative luminance 0.021; OKLCH L 27.9% C 0.018 H 314.5°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C262F |
|---|---|
| RGB | rgb(44, 38, 47) |
| HSL | hsl(280, 11%, 17%) |
| HSV | hsv(280, 19%, 18%) |
| CMYK | cmyk(6.4%, 19.1%, 0%, 81.6%) |
| CIE-LAB | lab(16.14, 4.92, -4.87) |
| CIE-LCH | lch(16.14, 6.92, 315.32°) |
| OKLab | oklab(27.89% 0.0129 -0.0131) |
| OKLCH | oklch(27.89% 0.018 314.5) |
| XYZ | xyz(2.2448, 2.1270, 2.9811) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark
#1B2431
ΔE00 8.27
Dark Grey
#363737
ΔE00 9.19
Onyx
#353839
ΔE00 9.82
Charcoal (survey)
#343837
ΔE00 11.01
Gunmetal
#2A3439
ΔE00 11.33
Navy Blue
#1B2A4A
ΔE00 11.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C262F #292F26
analogous
#28262F #2C262F #2F262E
triadic
#2C262F #2F2C26 #262F2C
tetradic
#2C262F #2F2826 #292F26 #262E2F
square
#2C262F #2F2826 #292F26 #262E2F
split-complementary
#2C262F #2E2F26 #262F28
monochromatic
#100E11 #100E11 #2C262F #4C4151 #6B5D73
Accessibility & contrast
On white
14.73
#2C262F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2C262F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C262F
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C262F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C262F | 1.00 | 14.73 | 1.43 | 14.73 |
| #FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25282F
Deuteranopia (green-blind)
#26282F
Tritanopia (blue-blind)
#2C2729
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2c262f; /* rgb */ color: rgb(44, 38, 47); /* oklch */ color: oklch(27.9% 0.018 314.5);
Tailwind
colors: {
custom: {
50: '#656067',
500: '#2c262f',
950: '#000000',
},
}SCSS
$custom: #2c262f; $custom-light: #656067; $custom-dark: #000000;
JSON
{
"hex": "#2c262f",
"rgb": {
"r": 44,
"g": 38,
"b": 47
},
"hsl": {
"h": 280,
"s": 10.588,
"l": 16.667
},
"oklch": {
"l": 0.27895,
"c": 0.01834,
"h": 314.5
},
"luminance": 0.02127
}Semantic roles & 50–950 ramp
primary
#2C262F
secondary
#565F52
accent
#B47489
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A