#2E262F#2E262F

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

Color values

HEX#2E262F
RGBrgb(46, 38, 47)
HSLhsl(293, 11%, 17%)
HSVhsv(293, 19%, 18%)
CMYKcmyk(2.1%, 19.1%, 0%, 81.6%)
CIE-LABlab(16.37, 5.79, -4.50)
CIE-LCHlch(16.37, 7.34, 322.15°)
OKLaboklab(28.13% 0.0157 -0.0121)
OKLCHoklch(28.13% 0.02 322.5)
XYZxyz(2.3328, 2.1723, 2.9852)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E262F #272F26
analogous
#2A262F #2E262F #2F262C
triadic
#2E262F #2F2E26 #262F2E
tetradic
#2E262F #2F2A26 #272F26 #262C2F
square
#2E262F #2F2A26 #272F26 #262C2F
split-complementary
#2E262F #2C2F26 #262F2A
monochromatic
#110E11 #110E11 #2E262F #4F4151 #705D73

Accessibility & contrast

On white

14.64
#2E262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E262F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E262F#FFFFFF#000000##FFFFFF
##2E262F1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25282F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#2E2729
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e262f;
/* rgb */ color: rgb(46, 38, 47);
/* oklch */ color: oklch(28.1% 0.020 322.5);
Tailwind
colors: {
  custom: {
    50: '#666067',
    500: '#2e262f',
    950: '#000000',
  },
}
SCSS
$custom: #2e262f;
$custom-light: #666067;
$custom-dark: #000000;
JSON
{
  "hex": "#2e262f",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 293.333,
    "s": 10.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28125,
    "c": 0.01983,
    "h": 322.5
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#2E262F
secondary
#535F52
accent
#B4747B
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2E262F

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

Preview Lab → · Contrast checker → · Palette generator →

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