#1D112F#1D112F

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

Color values

HEX#1D112F
RGBrgb(29, 17, 47)
HSLhsl(264, 47%, 13%)
HSVhsv(264, 64%, 18%)
CMYKcmyk(38.3%, 63.8%, 0%, 81.6%)
CIE-LABlab(7.83, 14.34, -17.88)
CIE-LCHlch(7.83, 22.92, 308.72°)
OKLaboklab(21.14% 0.029 -0.0505)
OKLCHoklch(21.14% 0.058 299.9)
XYZxyz(1.2201, 0.8673, 2.7919)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D112F #232F11
analogous
#11142F #1D112F #2C112F
triadic
#1D112F #2F1D11 #112F1D
tetradic
#1D112F #2F1114 #232F11 #112F2C
square
#1D112F #2F1114 #232F11 #112F2C
split-complementary
#1D112F #2F2C11 #142F11
monochromatic
#0E0816 #0E0816 #1D112F #39215C #543289

Accessibility & contrast

On white

17.90
#1D112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D112F
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D112F#FFFFFF#000000##FFFFFF
##1D112F1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#09172E
Tritanopia (blue-blind)
#19171D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d112f;
/* rgb */ color: rgb(29, 17, 47);
/* oklch */ color: oklch(21.1% 0.058 299.9);
Tailwind
colors: {
  custom: {
    50: '#5a4f67',
    500: '#1d112f',
    950: '#000000',
  },
}
SCSS
$custom: #1d112f;
$custom-light: #5a4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#1d112f",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 264,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21142,
    "c": 0.05822,
    "h": 299.9
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#1D112F
secondary
#536734
accent
#D751A1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #1D112F

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

Preview Lab → · Contrast checker → · Palette generator →

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