#2E113D#2E113D

#2E113D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.084 H 312.2°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#2E113D
RGBrgb(46, 17, 61)
HSLhsl(280, 56%, 15%)
HSVhsv(280, 72%, 24%)
CMYKcmyk(24.6%, 72.1%, 0%, 76.1%)
CIE-LABlab(11.41, 23.70, -22.17)
CIE-LCHlch(11.41, 32.46, 316.91°)
OKLaboklab(24.65% 0.0566 -0.0624)
OKLCHoklch(24.65% 0.084 312.2)
XYZxyz(2.1693, 1.3187, 4.5542)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E113D #203D11
analogous
#18113D #2E113D #3D1136
triadic
#2E113D #3D2E11 #113D2E
tetradic
#2E113D #3D1811 #203D11 #11363D
square
#2E113D #3D1811 #203D11 #11363D
split-complementary
#2E113D #363D11 #113D18
monochromatic
#120718 #120718 #2E113D #521E6D #762C9D

Accessibility & contrast

On white

16.62
#2E113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E113D
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E113D#FFFFFF#000000##FFFFFF
##2E113D1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3E
Deuteranopia (green-blind)
#0E1F3C
Tritanopia (blue-blind)
#2C1925
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e113d;
/* rgb */ color: rgb(46, 17, 61);
/* oklch */ color: oklch(24.6% 0.084 312.2);
Tailwind
colors: {
  custom: {
    50: '#695173',
    500: '#2e113d',
    950: '#000000',
  },
}
SCSS
$custom: #2e113d;
$custom-light: #695173;
$custom-dark: #000000;
JSON
{
  "hex": "#2e113d",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 279.545,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24649,
    "c": 0.08423,
    "h": 312.2
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#2E113D
secondary
#4A7633
accent
#E0487C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E113D

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

Preview Lab → · Contrast checker → · Palette generator →

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