#2E122D#2E122D

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

Color values

HEX#2E122D
RGBrgb(46, 18, 45)
HSLhsl(302, 44%, 13%)
HSVhsv(302, 61%, 18%)
CMYKcmyk(0%, 60.9%, 2.2%, 82%)
CIE-LABlab(10.58, 19.12, -11.90)
CIE-LCHlch(10.58, 22.52, 328.09°)
OKLaboklab(23.7% 0.0536 -0.0326)
OKLCHoklch(23.7% 0.063 328.7)
XYZxyz(1.8166, 1.2030, 2.6186)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E122D #122E13
analogous
#21122E #2E122D #2E121F
triadic
#2E122D #2D2E12 #122D2E
tetradic
#2E122D #2E2112 #122E13 #121F2E
square
#2E122D #2E2112 #122E13 #121F2E
split-complementary
#2E122D #1F2E12 #122E21
monochromatic
#160916 #160916 #2E122D #5A2358 #863483

Accessibility & contrast

On white

16.93
#2E122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E122D
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E122D#FFFFFF#000000##FFFFFF
##2E122D1.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101A2E
Deuteranopia (green-blind)
#181E2C
Tritanopia (blue-blind)
#30151D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e122d;
/* rgb */ color: rgb(46, 18, 45);
/* oklch */ color: oklch(23.7% 0.063 328.7);
Tailwind
colors: {
  custom: {
    50: '#685166',
    500: '#2e122d',
    950: '#000000',
  },
}
SCSS
$custom: #2e122d;
$custom-light: #685166;
$custom-dark: #000000;
JSON
{
  "hex": "#2e122d",
  "rgb": {
    "r": 46,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 302.143,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23704,
    "c": 0.0627,
    "h": 328.7
  },
  "luminance": 0.01203
}

Semantic roles & 50–950 ramp

primary
#2E122D
secondary
#366638
accent
#D35954
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2E122D

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

Preview Lab → · Contrast checker → · Palette generator →

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