#2E112B#2E112B

#2E112B is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.4% C 0.063 H 331.4°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#2E112B
RGBrgb(46, 17, 43)
HSLhsl(306, 46%, 12%)
HSVhsv(306, 63%, 18%)
CMYKcmyk(0%, 63%, 6.5%, 82%)
CIE-LABlab(10.23, 19.30, -10.97)
CIE-LCHlch(10.23, 22.20, 330.38°)
OKLaboklab(23.41% 0.0549 -0.0299)
OKLCHoklch(23.41% 0.063 331.4)
XYZxyz(1.7632, 1.1563, 2.4153)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E112B #112E14
analogous
#23112E #2E112B #2E111D
triadic
#2E112B #2B2E11 #112B2E
tetradic
#2E112B #2E2311 #112E14 #111D2E
square
#2E112B #2E2311 #112E14 #111D2E
split-complementary
#2E112B #1D2E11 #112E23
monochromatic
#160815 #160815 #2E112B #5B2255 #87327F

Accessibility & contrast

On white

17.06
#2E112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2E112B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E112B
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E112B#FFFFFF#000000##FFFFFF
##2E112B1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192C
Deuteranopia (green-blind)
#181D2A
Tritanopia (blue-blind)
#30131C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e112b;
/* rgb */ color: rgb(46, 17, 43);
/* oklch */ color: oklch(23.4% 0.063 331.4);
Tailwind
colors: {
  custom: {
    50: '#685064',
    500: '#2e112b',
    950: '#000000',
  },
}
SCSS
$custom: #2e112b;
$custom-light: #685064;
$custom-dark: #000000;
JSON
{
  "hex": "#2e112b",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 306.207,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23409,
    "c": 0.06253,
    "h": 331.4
  },
  "luminance": 0.01156
}

Semantic roles & 50–950 ramp

primary
#2E112B
secondary
#34663A
accent
#D66052
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2E112B

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

Preview Lab → · Contrast checker → · Palette generator →

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