#2E1036#2E1036

#2E1036 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.077 H 318.7°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#2E1036
RGBrgb(46, 16, 54)
HSLhsl(287, 54%, 14%)
HSVhsv(287, 70%, 21%)
CMYKcmyk(14.8%, 70.4%, 0%, 78.8%)
CIE-LABlab(10.69, 22.49, -18.30)
CIE-LCHlch(10.69, 28.99, 320.87°)
OKLaboklab(23.97% 0.0581 -0.0511)
OKLCHoklch(23.97% 0.077 318.7)
XYZxyz(1.9778, 1.2178, 3.6202)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1036 #183610
analogous
#1B1036 #2E1036 #36102B
triadic
#2E1036 #362E10 #10362E
tetradic
#2E1036 #361B10 #183610 #102B36
square
#2E1036 #361B10 #183610 #102B36
split-complementary
#2E1036 #2B3610 #10361B
monochromatic
#140718 #140718 #2E1036 #561E65 #7E2C94

Accessibility & contrast

On white

16.89
#2E1036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2E1036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1036
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1036#FFFFFF#000000##FFFFFF
##2E10361.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071B37
Deuteranopia (green-blind)
#121E35
Tritanopia (blue-blind)
#2E1621
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e1036;
/* rgb */ color: rgb(46, 16, 54);
/* oklch */ color: oklch(24.0% 0.077 318.7);
Tailwind
colors: {
  custom: {
    50: '#68506d',
    500: '#2e1036',
    950: '#000000',
  },
}
SCSS
$custom: #2e1036;
$custom-light: #68506d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1036",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 287.368,
    "s": 54.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23967,
    "c": 0.07733,
    "h": 318.7
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#2E1036
secondary
#3F7032
accent
#DE4A69
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E1036

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

Preview Lab → · Contrast checker → · Palette generator →

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