#2E252E#2E252E

#2E252E is a dark, muted purple. Relative luminance 0.021; OKLCH L 27.8% C 0.021 H 326.1°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#2E252E
RGBrgb(46, 37, 46)
HSLhsl(300, 11%, 16%)
HSVhsv(300, 20%, 18%)
CMYKcmyk(0%, 19.6%, 0%, 82%)
CIE-LABlab(16.01, 6.26, -4.33)
CIE-LCHlch(16.01, 7.61, 325.32°)
OKLaboklab(27.83% 0.0172 -0.0116)
OKLCHoklch(27.83% 0.021 326.1)
XYZxyz(2.2814, 2.1013, 2.8696)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E252E #252E25
analogous
#2A252E #2E252E #2E252A
triadic
#2E252E #2E2E25 #252E2E
tetradic
#2E252E #2E2A25 #252E25 #252A2E
square
#2E252E #2E2A25 #252E25 #252A2E
split-complementary
#2E252E #2A2E25 #252E2A
monochromatic
#110E11 #110E11 #2E252E #504050 #725C72

Accessibility & contrast

On white

14.79
#2E252E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E252E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E252E
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E252E#FFFFFF#000000##FFFFFF
##2E252E1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e252e;
/* rgb */ color: rgb(46, 37, 46);
/* oklch */ color: oklch(27.8% 0.021 326.1);
Tailwind
colors: {
  custom: {
    50: '#665f66',
    500: '#2e252e',
    950: '#000000',
  },
}
SCSS
$custom: #2e252e;
$custom-light: #665f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e252e",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 10.843,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27835,
    "c": 0.02077,
    "h": 326.1
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#2E252E
secondary
#515E51
accent
#B47474
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2E252E

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

Preview Lab → · Contrast checker → · Palette generator →

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