#2E142B#2E142B

#2E142B is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.0% C 0.056 H 331.6°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#2E142B
RGBrgb(46, 20, 43)
HSLhsl(307, 39%, 13%)
HSVhsv(307, 57%, 18%)
CMYKcmyk(0%, 56.5%, 6.5%, 82%)
CIE-LABlab(10.96, 17.38, -9.84)
CIE-LCHlch(10.96, 19.97, 330.48°)
OKLaboklab(23.95% 0.0494 -0.0267)
OKLCHoklch(23.95% 0.056 331.6)
XYZxyz(1.8129, 1.2557, 2.4319)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E142B #142E17
analogous
#24142E #2E142B #2E141E
triadic
#2E142B #2B2E14 #142B2E
tetradic
#2E142B #2E2414 #142E17 #141E2E
square
#2E142B #2E2414 #142E17 #141E2E
split-complementary
#2E142B #1E2E14 #142E24
monochromatic
#150914 #150914 #2E142B #592753 #83397B

Accessibility & contrast

On white

16.78
#2E142B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2E142B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E142B
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E142B#FFFFFF#000000##FFFFFF
##2E142B1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131B2C
Deuteranopia (green-blind)
#1A1F2A
Tritanopia (blue-blind)
#30161D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e142b;
/* rgb */ color: rgb(46, 20, 43);
/* oklch */ color: oklch(24.0% 0.056 331.6);
Tailwind
colors: {
  custom: {
    50: '#675264',
    500: '#2e142b',
    950: '#000000',
  },
}
SCSS
$custom: #2e142b;
$custom-light: #675264;
$custom-dark: #000000;
JSON
{
  "hex": "#2e142b",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 306.923,
    "s": 39.394,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23952,
    "c": 0.05617,
    "h": 331.6
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#2E142B
secondary
#39653E
accent
#CF6659
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2E142B

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

Preview Lab → · Contrast checker → · Palette generator →

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