#1D0D4D#1D0D4D

#1D0D4D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.109 H 285.9°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#1D0D4D
RGBrgb(29, 13, 77)
HSLhsl(255, 71%, 18%)
HSVhsv(255, 83%, 30%)
CMYKcmyk(62.3%, 83.1%, 0%, 69.8%)
CIE-LABlab(9.68, 27.12, -36.32)
CIE-LCHlch(9.68, 45.33, 306.75°)
OKLaboklab(23.35% 0.0297 -0.1046)
OKLCHoklch(23.35% 0.109 285.9)
XYZxyz(1.9898, 1.0848, 7.1243)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0D4D #3D4D0D
analogous
#0D1D4D #1D0D4D #3D0D4D
triadic
#1D0D4D #4D1D0D #0D4D1D
tetradic
#1D0D4D #4D0D1D #3D4D0D #0D4D3D
square
#1D0D4D #4D0D1D #3D4D0D #0D4D3D
split-complementary
#1D0D4D #4D3D0D #1D4D0D
monochromatic
#0A041A #0A041A #1D0D4D #311681 #441FB6

Accessibility & contrast

On white

17.26
#1D0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1D0D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0D4D
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0D4D#FFFFFF#000000##FFFFFF
##1D0D4D1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00194C
Tritanopia (blue-blind)
#061F2C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1d0d4d;
/* rgb */ color: rgb(29, 13, 77);
/* oklch */ color: oklch(23.3% 0.109 285.9);
Tailwind
colors: {
  custom: {
    50: '#604e80',
    500: '#1d0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #1d0d4d;
$custom-light: #604e80;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0d4d",
  "rgb": {
    "r": 29,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 255,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23347,
    "c": 0.10871,
    "h": 285.9
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#1D0D4D
secondary
#72882E
accent
#EE3AC1
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1D0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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