#2E1A36#2E1A36

#2E1A36 is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.8% C 0.057 H 315.8°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#2E1A36
RGBrgb(46, 26, 54)
HSLhsl(283, 35%, 16%)
HSVhsv(283, 52%, 21%)
CMYKcmyk(14.8%, 51.9%, 0%, 78.8%)
CIE-LABlab(13.14, 16.04, -14.42)
CIE-LCHlch(13.14, 21.57, 318.04°)
OKLaboklab(25.78% 0.041 -0.0399)
OKLCHoklch(25.78% 0.057 315.8)
XYZxyz(2.1619, 1.5860, 3.6816)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1A36 #22361A
analogous
#201A36 #2E1A36 #361A30
triadic
#2E1A36 #362E1A #1A362E
tetradic
#2E1A36 #36201A #22361A #1A3036
square
#2E1A36 #36201A #22361A #1A3036
split-complementary
#2E1A36 #30361A #1A3620
monochromatic
#120A15 #120A15 #2E1A36 #512E5F #744289

Accessibility & contrast

On white

15.94
#2E1A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2E1A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1A36
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1A36#FFFFFF#000000##FFFFFF
##2E1A361.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152137
Deuteranopia (green-blind)
#1A2235
Tritanopia (blue-blind)
#2E1E25
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2e1a36;
/* rgb */ color: rgb(46, 26, 54);
/* oklch */ color: oklch(25.8% 0.057 315.8);
Tailwind
colors: {
  custom: {
    50: '#67576d',
    500: '#2e1a36',
    950: '#000000',
  },
}
SCSS
$custom: #2e1a36;
$custom-light: #67576d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1a36",
  "rgb": {
    "r": 46,
    "g": 26,
    "b": 54
  },
  "hsl": {
    "h": 282.857,
    "s": 35,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2578,
    "c": 0.0572,
    "h": 315.8
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#2E1A36
secondary
#4D6B41
accent
#CB5D7C
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #2E1A36

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

Preview Lab → · Contrast checker → · Palette generator →

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