#2E122A#2E122A

#2E122A is a very dark, muted purple. Relative luminance 0.012; OKLCH L 23.5% C 0.059 H 332.9°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#2E122A
RGBrgb(46, 18, 42)
HSLhsl(309, 44%, 13%)
HSVhsv(309, 61%, 18%)
CMYKcmyk(0%, 60.9%, 8.7%, 82%)
CIE-LABlab(10.41, 18.45, -9.95)
CIE-LCHlch(10.41, 20.96, 331.67°)
OKLaboklab(23.53% 0.0529 -0.027)
OKLCHoklch(23.53% 0.059 332.9)
XYZxyz(1.7609, 1.1807, 2.3252)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E122A #122E16
analogous
#24122E #2E122A #2E121C
triadic
#2E122A #2A2E12 #122A2E
tetradic
#2E122A #2E2412 #122E16 #121C2E
square
#2E122A #2E2412 #122E16 #121C2E
split-complementary
#2E122A #1C2E12 #122E24
monochromatic
#160914 #160914 #2E122A #5A2352 #86347A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2e122a;
/* rgb */ color: rgb(46, 18, 42);
/* oklch */ color: oklch(23.5% 0.059 332.9);
Tailwind
colors: {
  custom: {
    50: '#685163',
    500: '#2e122a',
    950: '#000000',
  },
}
SCSS
$custom: #2e122a;
$custom-light: #685163;
$custom-dark: #000000;
JSON
{
  "hex": "#2e122a",
  "rgb": {
    "r": 46,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 308.571,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23527,
    "c": 0.05936,
    "h": 332.9
  },
  "luminance": 0.01181
}

Semantic roles & 50–950 ramp

primary
#2E122A
secondary
#36663D
accent
#D36654
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2E122A

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

Preview Lab → · Contrast checker → · Palette generator →

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