#1D103A#1D103A

#1D103A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.077 H 293.2°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#1D103A
RGBrgb(29, 16, 58)
HSLhsl(259, 57%, 15%)
HSVhsv(259, 72%, 23%)
CMYKcmyk(50%, 72.4%, 0%, 77.3%)
CIE-LABlab(8.46, 18.75, -24.90)
CIE-LCHlch(8.46, 31.17, 306.97°)
OKLaboklab(21.89% 0.0305 -0.0711)
OKLCHoklch(21.89% 0.077 293.2)
XYZxyz(1.4555, 0.9372, 4.1064)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D103A #2D3A10
analogous
#10183A #1D103A #32103A
triadic
#1D103A #3A1D10 #103A1D
tetradic
#1D103A #3A1018 #2D3A10 #103A32
square
#1D103A #3A1018 #2D3A10 #103A32
split-complementary
#1D103A #3A3210 #183A10
monochromatic
#0C0718 #0C0718 #1D103A #351D6A #4D2A9A

Accessibility & contrast

On white

17.69
#1D103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1D103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D103A
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D103A#FFFFFF#000000##FFFFFF
##1D103A1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#151A23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1d103a;
/* rgb */ color: rgb(29, 16, 58);
/* oklch */ color: oklch(21.9% 0.077 293.2);
Tailwind
colors: {
  custom: {
    50: '#5c4e70',
    500: '#1d103a',
    950: '#000000',
  },
}
SCSS
$custom: #1d103a;
$custom-light: #5c4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#1d103a",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 258.571,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21886,
    "c": 0.07733,
    "h": 293.2
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#1D103A
secondary
#5F7432
accent
#E048B1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1D103A

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

Preview Lab → · Contrast checker → · Palette generator →

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