#2E182C#2E182C

#2E182C is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.8% C 0.048 H 330.2°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#2E182C
RGBrgb(46, 24, 44)
HSLhsl(305, 31%, 14%)
HSVhsv(305, 48%, 18%)
CMYKcmyk(0%, 47.8%, 4.3%, 82%)
CIE-LABlab(12.06, 14.92, -8.87)
CIE-LCHlch(12.06, 17.36, 329.26°)
OKLaboklab(24.79% 0.0421 -0.0241)
OKLCHoklch(24.79% 0.048 330.2)
XYZxyz(1.9079, 1.4161, 2.5552)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E182C #182E1A
analogous
#25182E #2E182C #2E1821
triadic
#2E182C #2C2E18 #182C2E
tetradic
#2E182C #2E2518 #182E1A #18212E
square
#2E182C #2E2518 #182E1A #18212E
split-complementary
#2E182C #212E18 #182E25
monochromatic
#140A13 #140A13 #2E182C #562D52 #7E4279

Accessibility & contrast

On white

16.37
#2E182C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2E182C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E182C
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E182C#FFFFFF#000000##FFFFFF
##2E182C1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2D
Deuteranopia (green-blind)
#1D212B
Tritanopia (blue-blind)
#301A20
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e182c;
/* rgb */ color: rgb(46, 24, 44);
/* oklch */ color: oklch(24.8% 0.048 330.2);
Tailwind
colors: {
  custom: {
    50: '#675565',
    500: '#2e182c',
    950: '#000000',
  },
}
SCSS
$custom: #2e182c;
$custom-light: #675565;
$custom-dark: #000000;
JSON
{
  "hex": "#2e182c",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 305.455,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24794,
    "c": 0.04846,
    "h": 330.2
  },
  "luminance": 0.01416
}

Semantic roles & 50–950 ramp

primary
#2E182C
secondary
#3F6342
accent
#C86A60
background
#F6F5F6
surface
#EBE8EB
border
#C6C4C6
text
#060305
muted
#7A787A

Preview Lab

Preview with #2E182C

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

Preview Lab → · Contrast checker → · Palette generator →

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