#2E262D#2E262D

#2E262D is a dark, near-neutral purple. Relative luminance 0.022; OKLCH L 28.0% C 0.017 H 330.1°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#2E262D
RGBrgb(46, 38, 45)
HSLhsl(308, 10%, 16%)
HSVhsv(308, 17%, 18%)
CMYKcmyk(0%, 17.4%, 2.2%, 82%)
CIE-LABlab(16.29, 5.31, -3.21)
CIE-LCHlch(16.29, 6.20, 328.88°)
OKLaboklab(28.04% 0.0148 -0.0085)
OKLCHoklch(28.04% 0.017 330.1)
XYZxyz(2.2934, 2.1566, 2.7776)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E262D #262E27
analogous
#2B262E #2E262D #2E2629
triadic
#2E262D #2D2E26 #262D2E
tetradic
#2E262D #2E2B26 #262E27 #26292E
square
#2E262D #2E2B26 #262E27 #26292E
split-complementary
#2E262D #292E26 #262E2B
monochromatic
#110E10 #110E10 #2E262D #50424E #715D6F

Accessibility & contrast

On white

14.67
#2E262D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E262D
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E262D#FFFFFF#000000##FFFFFF
##2E262D1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e262d;
/* rgb */ color: rgb(46, 38, 45);
/* oklch */ color: oklch(28.0% 0.017 330.1);
Tailwind
colors: {
  custom: {
    50: '#666065',
    500: '#2e262d',
    950: '#000000',
  },
}
SCSS
$custom: #2e262d;
$custom-light: #666065;
$custom-dark: #000000;
JSON
{
  "hex": "#2e262d",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 45
  },
  "hsl": {
    "h": 307.5,
    "s": 9.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28038,
    "c": 0.0171,
    "h": 330.1
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#2E262D
secondary
#525E54
accent
#B37D75
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060405
muted
#7A797A

Preview Lab

Preview with #2E262D

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

Preview Lab → · Contrast checker → · Palette generator →

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