#1D112E#1D112E

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

Color values

HEX#1D112E
RGBrgb(29, 17, 46)
HSLhsl(265, 46%, 12%)
HSVhsv(265, 63%, 18%)
CMYKcmyk(37%, 63%, 0%, 82%)
CIE-LABlab(7.76, 14.01, -17.26)
CIE-LCHlch(7.76, 22.23, 309.06°)
OKLaboklab(21.06% 0.0289 -0.0486)
OKLCHoklch(21.06% 0.057 300.8)
XYZxyz(1.2002, 0.8594, 2.6869)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D112E #222E11
analogous
#11132E #1D112E #2C112E
triadic
#1D112E #2E1D11 #112E1D
tetradic
#1D112E #2E1113 #222E11 #112E2C
square
#1D112E #2E1113 #222E11 #112E2C
split-complementary
#1D112E #2E2C11 #132E11
monochromatic
#0E0816 #0E0816 #1D112E #39225B #553287

Accessibility & contrast

On white

17.92
#1D112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D112E
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D112E#FFFFFF#000000##FFFFFF
##1D112E1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#0A172D
Tritanopia (blue-blind)
#1A161D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d112e;
/* rgb */ color: rgb(29, 17, 46);
/* oklch */ color: oklch(21.1% 0.057 300.8);
Tailwind
colors: {
  custom: {
    50: '#5a4f67',
    500: '#1d112e',
    950: '#000000',
  },
}
SCSS
$custom: #1d112e;
$custom-light: #5a4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#1d112e",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 264.828,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21064,
    "c": 0.0566,
    "h": 300.8
  },
  "luminance": 0.00859
}

Semantic roles & 50–950 ramp

primary
#1D112E
secondary
#526634
accent
#D6529F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #1D112E

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

Preview Lab → · Contrast checker → · Palette generator →

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