#2E1336#2E1336

#2E1336 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.072 H 318.0°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#2E1336
RGBrgb(46, 19, 54)
HSLhsl(286, 48%, 14%)
HSVhsv(286, 65%, 21%)
CMYKcmyk(14.8%, 64.8%, 0%, 78.8%)
CIE-LABlab(11.37, 20.66, -17.22)
CIE-LCHlch(11.37, 26.90, 320.19°)
OKLaboklab(24.46% 0.0532 -0.0479)
OKLCHoklch(24.46% 0.072 318)
XYZxyz(2.0253, 1.3130, 3.6361)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1336 #1B3613
analogous
#1D1336 #2E1336 #36132D
triadic
#2E1336 #362E13 #13362E
tetradic
#2E1336 #361D13 #1B3613 #132D36
square
#2E1336 #361D13 #1B3613 #132D36
split-complementary
#2E1336 #2D3613 #13361D
monochromatic
#130817 #130817 #2E1336 #552363 #7B3391

Accessibility & contrast

On white

16.63
#2E1336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E1336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1336
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1336#FFFFFF#000000##FFFFFF
##2E13361.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1C37
Deuteranopia (green-blind)
#141F35
Tritanopia (blue-blind)
#2E1822
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e1336;
/* rgb */ color: rgb(46, 19, 54);
/* oklch */ color: oklch(24.5% 0.072 318.0);
Tailwind
colors: {
  custom: {
    50: '#68526d',
    500: '#2e1336',
    950: '#000000',
  },
}
SCSS
$custom: #2e1336;
$custom-light: #68526d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1336",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 286.286,
    "s": 47.945,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24462,
    "c": 0.07163,
    "h": 318
  },
  "luminance": 0.01313
}

Semantic roles & 50–950 ramp

primary
#2E1336
secondary
#436E37
accent
#D8506F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E1336

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

Preview Lab → · Contrast checker → · Palette generator →

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