#2E113A#2E113A

#2E113A is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.080 H 314.7°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#2E113A
RGBrgb(46, 17, 58)
HSLhsl(282, 55%, 15%)
HSVhsv(282, 71%, 23%)
CMYKcmyk(20.7%, 70.7%, 0%, 77.3%)
CIE-LABlab(11.19, 22.91, -20.38)
CIE-LCHlch(11.19, 30.67, 318.35°)
OKLaboklab(24.42% 0.0566 -0.0571)
OKLCHoklch(24.42% 0.08 314.7)
XYZxyz(2.0908, 1.2873, 4.1405)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E113A #1D3A11
analogous
#1A113A #2E113A #3A1132
triadic
#2E113A #3A2E11 #113A2E
tetradic
#2E113A #3A1A11 #1D3A11 #11323A
square
#2E113A #3A1A11 #1D3A11 #11323A
split-complementary
#2E113A #323A11 #113A1A
monochromatic
#130718 #130718 #2E113A #541F69 #792D99

Accessibility & contrast

On white

16.70
#2E113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E113A
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E113A#FFFFFF#000000##FFFFFF
##2E113A1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3B
Deuteranopia (green-blind)
#101F39
Tritanopia (blue-blind)
#2D1823
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e113a;
/* rgb */ color: rgb(46, 17, 58);
/* oklch */ color: oklch(24.4% 0.080 314.7);
Tailwind
colors: {
  custom: {
    50: '#685170',
    500: '#2e113a',
    950: '#000000',
  },
}
SCSS
$custom: #2e113a;
$custom-light: #685170;
$custom-dark: #000000;
JSON
{
  "hex": "#2e113a",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 282.439,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24419,
    "c": 0.08045,
    "h": 314.7
  },
  "luminance": 0.01287
}

Semantic roles & 50–950 ramp

primary
#2E113A
secondary
#467333
accent
#DE4A75
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E113A

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

Preview Lab → · Contrast checker → · Palette generator →

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