#2E112D#2E112D

#2E112D is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.5% C 0.065 H 328.7°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#2E112D
RGBrgb(46, 17, 45)
HSLhsl(302, 46%, 12%)
HSVhsv(302, 63%, 18%)
CMYKcmyk(0%, 63%, 2.2%, 82%)
CIE-LABlab(10.34, 19.74, -12.27)
CIE-LCHlch(10.34, 23.25, 328.14°)
OKLaboklab(23.53% 0.0553 -0.0336)
OKLCHoklch(23.53% 0.065 328.7)
XYZxyz(1.8008, 1.1713, 2.6133)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E112D #112E12
analogous
#21112E #2E112D #2E111F
triadic
#2E112D #2D2E11 #112D2E
tetradic
#2E112D #2E2111 #112E12 #111F2E
square
#2E112D #2E2111 #112E12 #111F2E
split-complementary
#2E112D #1F2E11 #112E21
monochromatic
#160816 #160816 #2E112D #5B2259 #873284

Accessibility & contrast

On white

17.02
#2E112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E112D
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E112D#FFFFFF#000000##FFFFFF
##2E112D1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2E
Deuteranopia (green-blind)
#181E2C
Tritanopia (blue-blind)
#30141D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e112d;
/* rgb */ color: rgb(46, 17, 45);
/* oklch */ color: oklch(23.5% 0.065 328.7);
Tailwind
colors: {
  custom: {
    50: '#685066',
    500: '#2e112d',
    950: '#000000',
  },
}
SCSS
$custom: #2e112d;
$custom-light: #685066;
$custom-dark: #000000;
JSON
{
  "hex": "#2e112d",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 302.069,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2353,
    "c": 0.06475,
    "h": 328.7
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#2E112D
secondary
#346636
accent
#D65752
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2E112D

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

Preview Lab → · Contrast checker → · Palette generator →

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