#2E262E#2E262E

#2E262E is a dark, near-neutral purple. Relative luminance 0.022; OKLCH L 28.1% C 0.018 H 326.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#2E262E
RGBrgb(46, 38, 46)
HSLhsl(300, 10%, 16%)
HSVhsv(300, 17%, 18%)
CMYKcmyk(0%, 17.4%, 0%, 82%)
CIE-LABlab(16.33, 5.55, -3.85)
CIE-LCHlch(16.33, 6.76, 325.22°)
OKLaboklab(28.08% 0.0153 -0.0103)
OKLCHoklch(28.08% 0.018 326.1)
XYZxyz(2.3129, 2.1644, 2.8802)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E262E #262E26
analogous
#2A262E #2E262E #2E262A
triadic
#2E262E #2E2E26 #262E2E
tetradic
#2E262E #2E2A26 #262E26 #262A2E
square
#2E262E #2E2A26 #262E26 #262A2E
split-complementary
#2E262E #2A2E26 #262E2A
monochromatic
#110E11 #110E11 #2E262E #504250 #715D71

Accessibility & contrast

On white

14.66
#2E262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2E262E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E262E
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E262E#FFFFFF#000000##FFFFFF
##2E262E1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282E
Deuteranopia (green-blind)
#27292E
Tritanopia (blue-blind)
#2F2729
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e262e;
/* rgb */ color: rgb(46, 38, 46);
/* oklch */ color: oklch(28.1% 0.018 326.1);
Tailwind
colors: {
  custom: {
    50: '#666066',
    500: '#2e262e',
    950: '#000000',
  },
}
SCSS
$custom: #2e262e;
$custom-light: #666066;
$custom-dark: #000000;
JSON
{
  "hex": "#2e262e",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 9.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28081,
    "c": 0.01843,
    "h": 326.1
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#2E262E
secondary
#525E52
accent
#B37575
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2E262E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E262E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva