#1D104A#1D104A

#1D104A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.101 H 286.0°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#1D104A
RGBrgb(29, 16, 74)
HSLhsl(253, 64%, 18%)
HSVhsv(253, 78%, 29%)
CMYKcmyk(60.8%, 78.4%, 0%, 71%)
CIE-LABlab(10.00, 24.28, -33.71)
CIE-LCHlch(10.00, 41.54, 305.77°)
OKLaboklab(23.48% 0.0278 -0.0969)
OKLCHoklch(23.48% 0.101 286)
XYZxyz(1.9276, 1.1261, 6.5930)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D104A #3D4A10
analogous
#10204A #1D104A #3A104A
triadic
#1D104A #4A1D10 #104A1D
tetradic
#1D104A #4A1020 #3D4A10 #104A3A
square
#1D104A #4A1020 #3D4A10 #104A3A
split-complementary
#1D104A #4A3A10 #204A10
monochromatic
#0A0519 #0A0519 #1D104A #311B7C #4426AF

Accessibility & contrast

On white

17.14
#1D104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1D104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D104A
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D104A#FFFFFF#000000##FFFFFF
##1D104A1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001A49
Tritanopia (blue-blind)
#091F2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1d104a;
/* rgb */ color: rgb(29, 16, 74);
/* oklch */ color: oklch(23.5% 0.101 286.0);
Tailwind
colors: {
  custom: {
    50: '#5f4f7d',
    500: '#1d104a',
    950: '#000000',
  },
}
SCSS
$custom: #1d104a;
$custom-light: #5f4f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d104a",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 253.448,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23476,
    "c": 0.10085,
    "h": 286
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#1D104A
secondary
#728432
accent
#E740C2
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1D104A

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

Preview Lab → · Contrast checker → · Palette generator →

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