#1D103F#1D103F

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

Color values

HEX#1D103F
RGBrgb(29, 16, 63)
HSLhsl(257, 59%, 15%)
HSVhsv(257, 75%, 25%)
CMYKcmyk(54%, 74.6%, 0%, 75.3%)
CIE-LABlab(8.91, 20.46, -27.74)
CIE-LCHlch(8.91, 34.47, 306.41°)
OKLaboklab(22.36% 0.0299 -0.0794)
OKLCHoklch(22.36% 0.085 290.6)
XYZxyz(1.5889, 0.9906, 4.8091)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D103F #323F10
analogous
#101A3F #1D103F #34103F
triadic
#1D103F #3F1D10 #103F1D
tetradic
#1D103F #3F101A #323F10 #103F34
square
#1D103F #3F101A #323F10 #103F34
split-complementary
#1D103F #3F3410 #1A3F10
monochromatic
#0B0618 #0B0618 #1D103F #331C70 #4A29A1

Accessibility & contrast

On white

17.53
#1D103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D103F
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D103F#FFFFFF#000000##FFFFFF
##1D103F1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#121B25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1d103f;
/* rgb */ color: rgb(29, 16, 63);
/* oklch */ color: oklch(22.4% 0.085 290.6);
Tailwind
colors: {
  custom: {
    50: '#5d4f74',
    500: '#1d103f',
    950: '#000000',
  },
}
SCSS
$custom: #1d103f;
$custom-light: #5d4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#1d103f",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 256.596,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22359,
    "c": 0.08487,
    "h": 290.6
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#1D103F
secondary
#657932
accent
#E345B7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #1D103F

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

Preview Lab → · Contrast checker → · Palette generator →

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