#1D104F#1D104F

#1D104F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.108 H 284.2°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#1D104F
RGBrgb(29, 16, 79)
HSLhsl(252, 66%, 19%)
HSVhsv(252, 80%, 31%)
CMYKcmyk(63.3%, 79.7%, 0%, 69%)
CIE-LABlab(10.53, 26.01, -36.30)
CIE-LCHlch(10.53, 44.66, 305.63°)
OKLaboklab(24.01% 0.0265 -0.1045)
OKLCHoklch(24.01% 0.108 284.2)
XYZxyz(2.1028, 1.1962, 7.5157)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D104F #424F10
analogous
#10224F #1D104F #3C104F
triadic
#1D104F #4F1D10 #104F1D
tetradic
#1D104F #4F1022 #424F10 #104F3C
square
#1D104F #4F1022 #424F10 #104F3C
split-complementary
#1D104F #4F3C10 #224F10
monochromatic
#090519 #0A061C #1D104F #301A82 #4225B5

Accessibility & contrast

On white

16.95
#1D104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1D104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D104F
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D104F#FFFFFF#000000##FFFFFF
##1D104F1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#03212E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1d104f;
/* rgb */ color: rgb(29, 16, 79);
/* oklch */ color: oklch(24.0% 0.108 284.2);
Tailwind
colors: {
  custom: {
    50: '#604f81',
    500: '#1d104f',
    950: '#000000',
  },
}
SCSS
$custom: #1d104f;
$custom-light: #604f81;
$custom-dark: #000000;
JSON
{
  "hex": "#1d104f",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 252.381,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24013,
    "c": 0.10787,
    "h": 284.2
  },
  "luminance": 0.01196
}

Semantic roles & 50–950 ramp

primary
#1D104F
secondary
#778932
accent
#E93FC6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1D104F

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

Preview Lab → · Contrast checker → · Palette generator →

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