#1D103C#1D103C

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

Color values

HEX#1D103C
RGBrgb(29, 16, 60)
HSLhsl(258, 58%, 15%)
HSVhsv(258, 73%, 24%)
CMYKcmyk(51.7%, 73.3%, 0%, 76.5%)
CIE-LABlab(8.64, 19.43, -26.05)
CIE-LCHlch(8.64, 32.50, 306.72°)
OKLaboklab(22.07% 0.0303 -0.0744)
OKLCHoklch(22.07% 0.08 292.1)
XYZxyz(1.5074, 0.9580, 4.3796)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D103C #2F3C10
analogous
#10193C #1D103C #33103C
triadic
#1D103C #3C1D10 #103C1D
tetradic
#1D103C #3C1019 #2F3C10 #103C33
square
#1D103C #3C1019 #2F3C10 #103C33
split-complementary
#1D103C #3C3310 #193C10
monochromatic
#0C0618 #0C0618 #1D103C #341D6C #4C2A9D

Accessibility & contrast

On white

17.62
#1D103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D103C
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D103C#FFFFFF#000000##FFFFFF
##1D103C1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#141A24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1d103c;
/* rgb */ color: rgb(29, 16, 60);
/* oklch */ color: oklch(22.1% 0.080 292.1);
Tailwind
colors: {
  custom: {
    50: '#5c4f72',
    500: '#1d103c',
    950: '#000000',
  },
}
SCSS
$custom: #1d103c;
$custom-light: #5c4f72;
$custom-dark: #000000;
JSON
{
  "hex": "#1d103c",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 257.727,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22073,
    "c": 0.08036,
    "h": 292.1
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#1D103C
secondary
#627632
accent
#E147B3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040208
muted
#79787B

Preview Lab

Preview with #1D103C

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

Preview Lab → · Contrast checker → · Palette generator →

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