#2E252F#2E252F

#2E252F is a dark, muted purple. Relative luminance 0.021; OKLCH L 27.9% C 0.022 H 322.9°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2E252F
RGBrgb(46, 37, 47)
HSLhsl(294, 12%, 16%)
HSVhsv(294, 21%, 18%)
CMYKcmyk(2.1%, 21.3%, 0%, 81.6%)
CIE-LABlab(16.05, 6.50, -4.98)
CIE-LCHlch(16.05, 8.19, 322.56°)
OKLaboklab(27.88% 0.0177 -0.0133)
OKLCHoklch(27.88% 0.022 322.9)
XYZxyz(2.3013, 2.1093, 2.9747)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E252F #262F25
analogous
#29252F #2E252F #2F252B
triadic
#2E252F #2F2E25 #252F2E
tetradic
#2E252F #2F2925 #262F25 #252B2F
square
#2E252F #2F2925 #262F25 #252B2F
split-complementary
#2E252F #2B2F25 #252F29
monochromatic
#110D11 #110D11 #2E252F #504051 #715B73

Accessibility & contrast

On white

14.77
#2E252F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E252F
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E252F#FFFFFF#000000##FFFFFF
##2E252F1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e252f;
/* rgb */ color: rgb(46, 37, 47);
/* oklch */ color: oklch(27.9% 0.022 322.9);
Tailwind
colors: {
  custom: {
    50: '#665f67',
    500: '#2e252f',
    950: '#000000',
  },
}
SCSS
$custom: #2e252f;
$custom-light: #665f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e252f",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 294,
    "s": 11.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2788,
    "c": 0.02215,
    "h": 322.9
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#2E252F
secondary
#525F51
accent
#B5737A
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2E252F

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

Preview Lab → · Contrast checker → · Palette generator →

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