#1D103E#1D103E

#1D103E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.083 H 291.1°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#1D103E
RGBrgb(29, 16, 62)
HSLhsl(257, 59%, 15%)
HSVhsv(257, 74%, 24%)
CMYKcmyk(53.2%, 74.2%, 0%, 75.7%)
CIE-LABlab(8.82, 20.12, -27.18)
CIE-LCHlch(8.82, 33.82, 306.51°)
OKLaboklab(22.26% 0.03 -0.0778)
OKLCHoklch(22.26% 0.083 291.1)
XYZxyz(1.5612, 0.9795, 4.6633)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D103E #313E10
analogous
#101A3E #1D103E #34103E
triadic
#1D103E #3E1D10 #103E1D
tetradic
#1D103E #3E101A #313E10 #103E34
square
#1D103E #3E101A #313E10 #103E34
split-complementary
#1D103E #3E3410 #1A3E10
monochromatic
#0B0618 #0B0618 #1D103E #341D6F #4B299F

Accessibility & contrast

On white

17.56
#1D103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D103E
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D103E#FFFFFF#000000##FFFFFF
##1D103E1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d103e;
/* rgb */ color: rgb(29, 16, 62);
/* oklch */ color: oklch(22.3% 0.083 291.1);
Tailwind
colors: {
  custom: {
    50: '#5d4f74',
    500: '#1d103e',
    950: '#000000',
  },
}
SCSS
$custom: #1d103e;
$custom-light: #5d4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#1d103e",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 256.957,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22263,
    "c": 0.08337,
    "h": 291.1
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#1D103E
secondary
#647832
accent
#E246B6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #1D103E

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

Preview Lab → · Contrast checker → · Palette generator →

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