#1D0D3F#1D0D3F

#1D0D3F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.089 H 292.0°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#1D0D3F
RGBrgb(29, 13, 63)
HSLhsl(259, 66%, 15%)
HSVhsv(259, 79%, 25%)
CMYKcmyk(54%, 79.4%, 0%, 75.3%)
CIE-LABlab(8.20, 22.42, -28.91)
CIE-LCHlch(8.20, 36.58, 307.80°)
OKLaboklab(21.85% 0.0335 -0.0828)
OKLCHoklch(21.85% 0.089 292)
XYZxyz(1.5476, 0.9079, 4.7954)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0D3F #2F3F0D
analogous
#0D163F #1D0D3F #360D3F
triadic
#1D0D3F #3F1D0D #0D3F1D
tetradic
#1D0D3F #3F0D16 #2F3F0D #0D3F36
square
#1D0D3F #3F0D16 #2F3F0D #0D3F36
split-complementary
#1D0D3F #3F360D #163F0D
monochromatic
#0C0519 #0C0519 #1D0D3F #341772 #4C22A4

Accessibility & contrast

On white

17.77
#1D0D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1D0D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0D3F
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0D3F#FFFFFF#000000##FFFFFF
##1D0D3F1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#121A24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1d0d3f;
/* rgb */ color: rgb(29, 13, 63);
/* oklch */ color: oklch(21.8% 0.089 292.0);
Tailwind
colors: {
  custom: {
    50: '#5d4d75',
    500: '#1d0d3f',
    950: '#000000',
  },
}
SCSS
$custom: #1d0d3f;
$custom-light: #5d4d75;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0d3f",
  "rgb": {
    "r": 29,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 259.2,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21847,
    "c": 0.08934,
    "h": 292
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#1D0D3F
secondary
#627B2D
accent
#E93FB2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1D0D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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