#2E112F#2E112F

#2E112F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.067 H 326.2°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#2E112F
RGBrgb(46, 17, 47)
HSLhsl(298, 47%, 13%)
HSVhsv(298, 64%, 18%)
CMYKcmyk(2.1%, 63.8%, 0%, 81.6%)
CIE-LABlab(10.46, 20.20, -13.56)
CIE-LCHlch(10.46, 24.33, 326.13°)
OKLaboklab(23.66% 0.0557 -0.0373)
OKLCHoklch(23.66% 0.067 326.2)
XYZxyz(1.8402, 1.1871, 2.8210)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E112F #122F11
analogous
#1F112F #2E112F #2F1121
triadic
#2E112F #2F2E11 #112F2E
tetradic
#2E112F #2F1F11 #122F11 #11212F
square
#2E112F #2F1F11 #122F11 #11212F
split-complementary
#2E112F #212F11 #112F1F
monochromatic
#160816 #160816 #2E112F #5A215C #863289

Accessibility & contrast

On white

16.97
#2E112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2E112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E112F
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E112F#FFFFFF#000000##FFFFFF
##2E112F1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A30
Deuteranopia (green-blind)
#171E2E
Tritanopia (blue-blind)
#2F151E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e112f;
/* rgb */ color: rgb(46, 17, 47);
/* oklch */ color: oklch(23.7% 0.067 326.2);
Tailwind
colors: {
  custom: {
    50: '#685067',
    500: '#2e112f',
    950: '#000000',
  },
}
SCSS
$custom: #2e112f;
$custom-light: #685067;
$custom-dark: #000000;
JSON
{
  "hex": "#2e112f",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 298,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23655,
    "c": 0.06704,
    "h": 326.2
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#2E112F
secondary
#366734
accent
#D75156
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E112F

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

Preview Lab → · Contrast checker → · Palette generator →

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