#2E112E#2E112E

#2E112E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.066 H 327.4°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#2E112E
RGBrgb(46, 17, 46)
HSLhsl(300, 46%, 12%)
HSVhsv(300, 63%, 18%)
CMYKcmyk(0%, 63%, 0%, 82%)
CIE-LABlab(10.40, 19.97, -12.91)
CIE-LCHlch(10.40, 23.78, 327.11°)
OKLaboklab(23.59% 0.0555 -0.0355)
OKLCHoklch(23.59% 0.066 327.4)
XYZxyz(1.8203, 1.1791, 2.7159)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E112E #112E11
analogous
#20112E #2E112E #2E1120
triadic
#2E112E #2E2E11 #112E2E
tetradic
#2E112E #2E2011 #112E11 #11202E
square
#2E112E #2E2011 #112E11 #11202E
split-complementary
#2E112E #202E11 #112E20
monochromatic
#160816 #160816 #2E112E #5B225B #873287

Accessibility & contrast

On white

16.99
#2E112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E112E
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E112E#FFFFFF#000000##FFFFFF
##2E112E1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A2F
Deuteranopia (green-blind)
#171E2D
Tritanopia (blue-blind)
#2F141D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e112e;
/* rgb */ color: rgb(46, 17, 46);
/* oklch */ color: oklch(23.6% 0.066 327.4);
Tailwind
colors: {
  custom: {
    50: '#685066',
    500: '#2e112e',
    950: '#000000',
  },
}
SCSS
$custom: #2e112e;
$custom-light: #685066;
$custom-dark: #000000;
JSON
{
  "hex": "#2e112e",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23592,
    "c": 0.06589,
    "h": 327.4
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#2E112E
secondary
#346634
accent
#D65252
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E112E

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

Preview Lab → · Contrast checker → · Palette generator →

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