#2E113F#2E113F

#2E113F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.087 H 310.6°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#2E113F
RGBrgb(46, 17, 63)
HSLhsl(278, 58%, 16%)
HSVhsv(278, 73%, 25%)
CMYKcmyk(27%, 73%, 0%, 75.3%)
CIE-LABlab(11.56, 24.23, -23.35)
CIE-LCHlch(11.56, 33.65, 316.06°)
OKLaboklab(24.81% 0.0565 -0.0659)
OKLCHoklch(24.81% 0.087 310.6)
XYZxyz(2.2242, 1.3407, 4.8433)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E113F #223F11
analogous
#17113F #2E113F #3F1139
triadic
#2E113F #3F2E11 #113F2E
tetradic
#2E113F #3F1711 #223F11 #11393F
square
#2E113F #3F1711 #223F11 #11393F
split-complementary
#2E113F #393F11 #113F17
monochromatic
#120718 #120718 #2E113F #511E6F #742B9F

Accessibility & contrast

On white

16.56
#2E113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E113F
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E113F#FFFFFF#000000##FFFFFF
##2E113F1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#0C1F3E
Tritanopia (blue-blind)
#2C1A26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e113f;
/* rgb */ color: rgb(46, 17, 63);
/* oklch */ color: oklch(24.8% 0.087 310.6);
Tailwind
colors: {
  custom: {
    50: '#695174',
    500: '#2e113f',
    950: '#000000',
  },
}
SCSS
$custom: #2e113f;
$custom-light: #695174;
$custom-dark: #000000;
JSON
{
  "hex": "#2e113f",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 277.826,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24807,
    "c": 0.08676,
    "h": 310.6
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#2E113F
secondary
#4D7833
accent
#E14780
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E113F

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

Preview Lab → · Contrast checker → · Palette generator →

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