#2E1436#2E1436

#2E1436 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.070 H 317.7°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#2E1436
RGBrgb(46, 20, 54)
HSLhsl(286, 46%, 15%)
HSVhsv(286, 63%, 21%)
CMYKcmyk(14.8%, 63%, 0%, 78.8%)
CIE-LABlab(11.60, 20.03, -16.85)
CIE-LCHlch(11.60, 26.17, 319.93°)
OKLaboklab(24.64% 0.0515 -0.0469)
OKLCHoklch(24.64% 0.07 317.7)
XYZxyz(2.0426, 1.3476, 3.6418)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1436 #1C3614
analogous
#1D1436 #2E1436 #36142D
triadic
#2E1436 #362E14 #14362E
tetradic
#2E1436 #361D14 #1C3614 #142D36
square
#2E1436 #361D14 #1C3614 #142D36
split-complementary
#2E1436 #2D3614 #14361D
monochromatic
#130816 #130816 #2E1436 #542563 #7A358F

Accessibility & contrast

On white

16.54
#2E1436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E1436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1436
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1436#FFFFFF#000000##FFFFFF
##2E14361.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1D37
Deuteranopia (green-blind)
#152035
Tritanopia (blue-blind)
#2E1922
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e1436;
/* rgb */ color: rgb(46, 20, 54);
/* oklch */ color: oklch(24.6% 0.070 317.7);
Tailwind
colors: {
  custom: {
    50: '#68536d',
    500: '#2e1436',
    950: '#000000',
  },
}
SCSS
$custom: #2e1436;
$custom-light: #68536d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1436",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 54
  },
  "hsl": {
    "h": 285.882,
    "s": 45.946,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24637,
    "c": 0.06966,
    "h": 317.7
  },
  "luminance": 0.01347
}

Semantic roles & 50–950 ramp

primary
#2E1436
secondary
#456E38
accent
#D65271
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E1436

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

Preview Lab → · Contrast checker → · Palette generator →

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