#1E112F#1E112F

#1E112F is a very dark, muted violet. Relative luminance 0.009; OKLCH L 21.3% C 0.058 H 301.6°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#1E112F
RGBrgb(30, 17, 47)
HSLhsl(266, 47%, 13%)
HSVhsv(266, 64%, 18%)
CMYKcmyk(36.2%, 63.8%, 0%, 81.6%)
CIE-LABlab(7.97, 14.67, -17.66)
CIE-LCHlch(7.97, 22.96, 309.72°)
OKLaboklab(21.27% 0.0307 -0.0498)
OKLCHoklch(21.27% 0.058 301.6)
XYZxyz(1.2488, 0.8821, 2.7933)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E112F #222F11
analogous
#11132F #1E112F #2D112F
triadic
#1E112F #2F1E11 #112F1E
tetradic
#1E112F #2F1113 #222F11 #112F2D
square
#1E112F #2F1113 #222F11 #112F2D
split-complementary
#1E112F #2F2D11 #132F11
monochromatic
#0E0816 #0E0816 #1E112F #3B215C #573289

Accessibility & contrast

On white

17.85
#1E112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1E112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E112F
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E112F#FFFFFF#000000##FFFFFF
##1E112F1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071730
Deuteranopia (green-blind)
#0A172E
Tritanopia (blue-blind)
#1B171D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e112f;
/* rgb */ color: rgb(30, 17, 47);
/* oklch */ color: oklch(21.3% 0.058 301.6);
Tailwind
colors: {
  custom: {
    50: '#5b4f67',
    500: '#1e112f',
    950: '#000000',
  },
}
SCSS
$custom: #1e112f;
$custom-light: #5b4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#1e112f",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 266,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21274,
    "c": 0.05847,
    "h": 301.6
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#1E112F
secondary
#516734
accent
#D7519D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #1E112F

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

Preview Lab → · Contrast checker → · Palette generator →

#1E112F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva