#2E1634#2E1634

#2E1634 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.9% C 0.063 H 319.3°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#2E1634
RGBrgb(46, 22, 52)
HSLhsl(288, 41%, 15%)
HSVhsv(288, 58%, 20%)
CMYKcmyk(11.5%, 57.7%, 0%, 79.6%)
CIE-LABlab(11.98, 18.22, -14.82)
CIE-LCHlch(11.98, 23.48, 320.87°)
OKLaboklab(24.87% 0.0478 -0.041)
OKLCHoklch(24.87% 0.063 319.3)
XYZxyz(2.0334, 1.4027, 3.4118)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1634 #1C3416
analogous
#1F1634 #2E1634 #34162B
triadic
#2E1634 #342E16 #16342E
tetradic
#2E1634 #341F16 #1C3416 #162B34
square
#2E1634 #341F16 #1C3416 #162B34
split-complementary
#2E1634 #2B3416 #16341F
monochromatic
#130916 #130916 #2E1634 #54285F #7A3A8A

Accessibility & contrast

On white

16.40
#2E1634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1634
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1634#FFFFFF#000000##FFFFFF
##2E16341.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111E35
Deuteranopia (green-blind)
#182033
Tritanopia (blue-blind)
#2E1A22
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e1634;
/* rgb */ color: rgb(46, 22, 52);
/* oklch */ color: oklch(24.9% 0.063 319.3);
Tailwind
colors: {
  custom: {
    50: '#67546b',
    500: '#2e1634',
    950: '#000000',
  },
}
SCSS
$custom: #2e1634;
$custom-light: #67546b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1634",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 52
  },
  "hsl": {
    "h": 288,
    "s": 40.541,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24871,
    "c": 0.06297,
    "h": 319.3
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#2E1634
secondary
#456A3B
accent
#D05770
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1634

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

Preview Lab → · Contrast checker → · Palette generator →

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