#1D113D#1D113D

#1D113D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.080 H 291.0°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#1D113D
RGBrgb(29, 17, 61)
HSLhsl(256, 56%, 15%)
HSVhsv(256, 72%, 24%)
CMYKcmyk(52.5%, 72.1%, 0%, 76.1%)
CIE-LABlab(8.98, 19.09, -26.20)
CIE-LCHlch(8.98, 32.42, 306.07°)
OKLaboklab(22.35% 0.0288 -0.0749)
OKLCHoklch(22.35% 0.08 291)
XYZxyz(1.5492, 0.9990, 4.5252)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D113D #313D11
analogous
#111B3D #1D113D #33113D
triadic
#1D113D #3D1D11 #113D1D
tetradic
#1D113D #3D111B #313D11 #113D33
square
#1D113D #3D111B #313D11 #113D33
split-complementary
#1D113D #3D3311 #1B3D11
monochromatic
#0B0718 #0B0718 #1D113D #341E6D #4B2C9D

Accessibility & contrast

On white

17.50
#1D113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1D113D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D113D
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D113D#FFFFFF#000000##FFFFFF
##1D113D1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#00183C
Tritanopia (blue-blind)
#131B25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1d113d;
/* rgb */ color: rgb(29, 17, 61);
/* oklch */ color: oklch(22.4% 0.080 291.0);
Tailwind
colors: {
  custom: {
    50: '#5c4f73',
    500: '#1d113d',
    950: '#000000',
  },
}
SCSS
$custom: #1d113d;
$custom-light: #5c4f73;
$custom-dark: #000000;
JSON
{
  "hex": "#1d113d",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 256.364,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22352,
    "c": 0.08026,
    "h": 291
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#1D113D
secondary
#647633
accent
#E048B6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #1D113D

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

Preview Lab → · Contrast checker → · Palette generator →

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