#2E122B#2E122B

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

Color values

HEX#2E122B
RGBrgb(46, 18, 43)
HSLhsl(306, 44%, 13%)
HSVhsv(306, 61%, 18%)
CMYKcmyk(0%, 60.9%, 6.5%, 82%)
CIE-LABlab(10.47, 18.67, -10.60)
CIE-LCHlch(10.47, 21.47, 330.41°)
OKLaboklab(23.59% 0.0531 -0.0289)
OKLCHoklch(23.59% 0.06 331.5)
XYZxyz(1.7791, 1.1880, 2.4206)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E122B #122E15
analogous
#23122E #2E122B #2E121D
triadic
#2E122B #2B2E12 #122B2E
tetradic
#2E122B #2E2312 #122E15 #121D2E
square
#2E122B #2E2312 #122E15 #121D2E
split-complementary
#2E122B #1D2E12 #122E23
monochromatic
#160915 #160915 #2E122B #5A2354 #86347D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E122B#FFFFFF#000000##FFFFFF
##2E122B1.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)
#111A2C
Deuteranopia (green-blind)
#191E2A
Tritanopia (blue-blind)
#30141C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e122b;
/* rgb */ color: rgb(46, 18, 43);
/* oklch */ color: oklch(23.6% 0.060 331.5);
Tailwind
colors: {
  custom: {
    50: '#685164',
    500: '#2e122b',
    950: '#000000',
  },
}
SCSS
$custom: #2e122b;
$custom-light: #685164;
$custom-dark: #000000;
JSON
{
  "hex": "#2e122b",
  "rgb": {
    "r": 46,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 306.429,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23585,
    "c": 0.06045,
    "h": 331.5
  },
  "luminance": 0.01188
}

Semantic roles & 50–950 ramp

primary
#2E122B
secondary
#36663B
accent
#D36254
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2E122B

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

Preview Lab → · Contrast checker → · Palette generator →

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