#1E112E#1E112E

#1E112E is a very dark, muted violet. Relative luminance 0.009; OKLCH L 21.2% C 0.057 H 302.5°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#1E112E
RGBrgb(30, 17, 46)
HSLhsl(267, 46%, 12%)
HSVhsv(267, 63%, 18%)
CMYKcmyk(34.8%, 63%, 0%, 82%)
CIE-LABlab(7.90, 14.35, -17.04)
CIE-LCHlch(7.90, 22.27, 310.11°)
OKLaboklab(21.2% 0.0306 -0.0479)
OKLCHoklch(21.2% 0.057 302.5)
XYZxyz(1.2289, 0.8742, 2.6882)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E112E #212E11
analogous
#11122E #1E112E #2D112E
triadic
#1E112E #2E1E11 #112E1E
tetradic
#1E112E #2E1112 #212E11 #112E2D
square
#1E112E #2E1112 #212E11 #112E2D
split-complementary
#1E112E #2E2D11 #122E11
monochromatic
#0F0816 #0F0816 #1E112E #3B225B #583287

Accessibility & contrast

On white

17.88
#1E112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1E112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E112E
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E112E#FFFFFF#000000##FFFFFF
##1E112E1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172F
Deuteranopia (green-blind)
#0B172D
Tritanopia (blue-blind)
#1B161D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e112e;
/* rgb */ color: rgb(30, 17, 46);
/* oklch */ color: oklch(21.2% 0.057 302.5);
Tailwind
colors: {
  custom: {
    50: '#5b4f67',
    500: '#1e112e',
    950: '#000000',
  },
}
SCSS
$custom: #1e112e;
$custom-light: #5b4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#1e112e",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 266.897,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21196,
    "c": 0.05687,
    "h": 302.5
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#1E112E
secondary
#506634
accent
#D6529B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #1E112E

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

Preview Lab → · Contrast checker → · Palette generator →

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