#2E1131#2E1131

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

Color values

HEX#2E1131
RGBrgb(46, 17, 49)
HSLhsl(294, 48%, 13%)
HSVhsv(294, 65%, 19%)
CMYKcmyk(6.1%, 65.3%, 0%, 80.8%)
CIE-LABlab(10.58, 20.67, -14.83)
CIE-LCHlch(10.58, 25.44, 324.35°)
OKLaboklab(23.78% 0.056 -0.041)
OKLCHoklch(23.78% 0.069 323.8)
XYZxyz(1.8815, 1.2036, 3.0383)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1131 #143111
analogous
#1E1131 #2E1131 #311124
triadic
#2E1131 #312E11 #11312E
tetradic
#2E1131 #311E11 #143111 #112431
square
#2E1131 #311E11 #143111 #112431
split-complementary
#2E1131 #243111 #11311E
monochromatic
#150817 #150817 #2E1131 #59215E #83318C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E1131#FFFFFF#000000##FFFFFF
##2E11311.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)
#0C1A32
Deuteranopia (green-blind)
#161E30
Tritanopia (blue-blind)
#2F151E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e1131;
/* rgb */ color: rgb(46, 17, 49);
/* oklch */ color: oklch(23.8% 0.069 323.8);
Tailwind
colors: {
  custom: {
    50: '#685069',
    500: '#2e1131',
    950: '#000000',
  },
}
SCSS
$custom: #2e1131;
$custom-light: #685069;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1131",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 294.375,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23784,
    "c": 0.0694,
    "h": 323.8
  },
  "luminance": 0.01203
}

Semantic roles & 50–950 ramp

primary
#2E1131
secondary
#396A34
accent
#D8505D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1131

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

Preview Lab → · Contrast checker → · Palette generator →

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