#2E113B#2E113B

#2E113B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.082 H 313.9°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#2E113B
RGBrgb(46, 17, 59)
HSLhsl(281, 55%, 15%)
HSVhsv(281, 71%, 23%)
CMYKcmyk(22%, 71.2%, 0%, 76.9%)
CIE-LABlab(11.26, 23.17, -20.98)
CIE-LCHlch(11.26, 31.26, 317.84°)
OKLaboklab(24.5% 0.0566 -0.0589)
OKLCHoklch(24.5% 0.082 313.9)
XYZxyz(2.1164, 1.2976, 4.2758)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E113B #1E3B11
analogous
#19113B #2E113B #3B1133
triadic
#2E113B #3B2E11 #113B2E
tetradic
#2E113B #3B1911 #1E3B11 #11333B
square
#2E113B #3B1911 #1E3B11 #11333B
split-complementary
#2E113B #333B11 #113B19
monochromatic
#130718 #130718 #2E113B #531F6B #782C9A

Accessibility & contrast

On white

16.67
#2E113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E113B
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E113B#FFFFFF#000000##FFFFFF
##2E113B1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3C
Deuteranopia (green-blind)
#0F1F3A
Tritanopia (blue-blind)
#2D1924
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e113b;
/* rgb */ color: rgb(46, 17, 59);
/* oklch */ color: oklch(24.5% 0.082 313.9);
Tailwind
colors: {
  custom: {
    50: '#685171',
    500: '#2e113b',
    950: '#000000',
  },
}
SCSS
$custom: #2e113b;
$custom-light: #685171;
$custom-dark: #000000;
JSON
{
  "hex": "#2e113b",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 281.429,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24495,
    "c": 0.08171,
    "h": 313.9
  },
  "luminance": 0.01298
}

Semantic roles & 50–950 ramp

primary
#2E113B
secondary
#487433
accent
#DF4977
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E113B

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

Preview Lab → · Contrast checker → · Palette generator →

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