#2E1536#2E1536

#2E1536 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.8% C 0.068 H 317.4°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#2E1536
RGBrgb(46, 21, 54)
HSLhsl(285, 44%, 15%)
HSVhsv(285, 61%, 21%)
CMYKcmyk(14.8%, 61.1%, 0%, 78.8%)
CIE-LABlab(11.85, 19.38, -16.46)
CIE-LCHlch(11.85, 25.43, 319.66°)
OKLaboklab(24.82% 0.0498 -0.0458)
OKLCHoklch(24.82% 0.068 317.4)
XYZxyz(2.0606, 1.3836, 3.6478)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1536 #1D3615
analogous
#1E1536 #2E1536 #36152E
triadic
#2E1536 #362E15 #15362E
tetradic
#2E1536 #361E15 #1D3615 #152E36
square
#2E1536 #361E15 #1D3615 #152E36
split-complementary
#2E1536 #2E3615 #15361E
monochromatic
#130916 #130916 #2E1536 #542662 #79378E

Accessibility & contrast

On white

16.45
#2E1536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2E1536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1536
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1536#FFFFFF#000000##FFFFFF
##2E15361.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1E37
Deuteranopia (green-blind)
#162035
Tritanopia (blue-blind)
#2E1A23
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e1536;
/* rgb */ color: rgb(46, 21, 54);
/* oklch */ color: oklch(24.8% 0.068 317.4);
Tailwind
colors: {
  custom: {
    50: '#68536d',
    500: '#2e1536',
    950: '#000000',
  },
}
SCSS
$custom: #2e1536;
$custom-light: #68536d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1536",
  "rgb": {
    "r": 46,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 285.455,
    "s": 44,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24817,
    "c": 0.06765,
    "h": 317.4
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#2E1536
secondary
#466D3A
accent
#D45473
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E1536

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

Preview Lab → · Contrast checker → · Palette generator →

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