#2E1A34#2E1A34

#2E1A34 is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.7% C 0.054 H 318.1°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#2E1A34
RGBrgb(46, 26, 52)
HSLhsl(286, 33%, 15%)
HSVhsv(286, 50%, 20%)
CMYKcmyk(11.5%, 50%, 0%, 79.6%)
CIE-LABlab(13.03, 15.52, -13.17)
CIE-LCHlch(13.03, 20.35, 319.69°)
OKLaboklab(25.66% 0.0405 -0.0363)
OKLCHoklch(25.66% 0.054 318.1)
XYZxyz(2.1159, 1.5676, 3.4393)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1A34 #20341A
analogous
#211A34 #2E1A34 #341A2D
triadic
#2E1A34 #342E1A #1A342E
tetradic
#2E1A34 #34211A #20341A #1A2D34
square
#2E1A34 #34211A #20341A #1A2D34
split-complementary
#2E1A34 #2D341A #1A3421
monochromatic
#120A14 #120A14 #2E1A34 #522E5D #764386

Accessibility & contrast

On white

15.99
#2E1A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2E1A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1A34
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1A34#FFFFFF#000000##FFFFFF
##2E1A341.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162035
Deuteranopia (green-blind)
#1B2233
Tritanopia (blue-blind)
#2E1D24
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2e1a34;
/* rgb */ color: rgb(46, 26, 52);
/* oklch */ color: oklch(25.7% 0.054 318.1);
Tailwind
colors: {
  custom: {
    50: '#67576b',
    500: '#2e1a34',
    950: '#000000',
  },
}
SCSS
$custom: #2e1a34;
$custom-light: #67576b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1a34",
  "rgb": {
    "r": 46,
    "g": 26,
    "b": 52
  },
  "hsl": {
    "h": 286.154,
    "s": 33.333,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25659,
    "c": 0.05439,
    "h": 318.1
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#2E1A34
secondary
#4A6941
accent
#C95E77
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2E1A34

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

Preview Lab → · Contrast checker → · Palette generator →

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