#2E202C#2E202C

#2E202C is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.6% C 0.030 H 331.4°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#2E202C
RGBrgb(46, 32, 44)
HSLhsl(309, 18%, 15%)
HSVhsv(309, 30%, 18%)
CMYKcmyk(0%, 30.4%, 4.3%, 82%)
CIE-LABlab(14.38, 9.32, -5.36)
CIE-LCHlch(14.38, 10.75, 330.11°)
OKLaboklab(26.55% 0.0263 -0.0143)
OKLCHoklch(26.55% 0.03 331.4)
XYZxyz(2.0978, 1.7958, 2.6185)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E202C #202E22
analogous
#29202E #2E202C #2E2025
triadic
#2E202C #2C2E20 #202C2E
tetradic
#2E202C #2E2920 #202E22 #20252E
square
#2E202C #2E2920 #202E22 #20252E
split-complementary
#2E202C #252E20 #202E29
monochromatic
#120D11 #120D11 #2E202C #52394F #765271

Accessibility & contrast

On white

15.45
#2E202C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2E202C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E202C
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E202C#FFFFFF#000000##FFFFFF
##2E202C1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232C
Deuteranopia (green-blind)
#23252C
Tritanopia (blue-blind)
#2F2124
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e202c;
/* rgb */ color: rgb(46, 32, 44);
/* oklch */ color: oklch(26.6% 0.030 331.4);
Tailwind
colors: {
  custom: {
    50: '#675b65',
    500: '#2e202c',
    950: '#000000',
  },
}
SCSS
$custom: #2e202c;
$custom-light: #675b65;
$custom-dark: #000000;
JSON
{
  "hex": "#2e202c",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 44
  },
  "hsl": {
    "h": 308.571,
    "s": 17.949,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2655,
    "c": 0.02991,
    "h": 331.4
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#2E202C
secondary
#4A604D
accent
#BB786D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060405
muted
#7A797A

Preview Lab

Preview with #2E202C

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

Preview Lab → · Contrast checker → · Palette generator →

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