#1D0D4C#1D0D4C

#1D0D4C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.107 H 286.2°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#1D0D4C
RGBrgb(29, 13, 76)
HSLhsl(255, 71%, 17%)
HSVhsv(255, 83%, 30%)
CMYKcmyk(61.8%, 82.9%, 0%, 70.2%)
CIE-LABlab(9.57, 26.78, -35.81)
CIE-LCHlch(9.57, 44.72, 306.79°)
OKLaboklab(23.24% 0.03 -0.1031)
OKLCHoklch(23.24% 0.107 286.2)
XYZxyz(1.9547, 1.0708, 6.9397)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0D4C #3C4C0D
analogous
#0D1D4C #1D0D4C #3D0D4C
triadic
#1D0D4C #4C1D0D #0D4C1D
tetradic
#1D0D4C #4C0D1D #3C4C0D #0D4C3D
square
#1D0D4C #4C0D1D #3C4C0D #0D4C3D
split-complementary
#1D0D4C #4C3D0D #1D4C0D
monochromatic
#0A041A #0A041A #1D0D4C #311680 #451FB5

Accessibility & contrast

On white

17.30
#1D0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1D0D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0D4C
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0D4C#FFFFFF#000000##FFFFFF
##1D0D4C1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00194B
Tritanopia (blue-blind)
#071F2C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1d0d4c;
/* rgb */ color: rgb(29, 13, 76);
/* oklch */ color: oklch(23.2% 0.107 286.2);
Tailwind
colors: {
  custom: {
    50: '#604d7f',
    500: '#1d0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #1d0d4c;
$custom-light: #604d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0d4c",
  "rgb": {
    "r": 29,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 255.238,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23235,
    "c": 0.10736,
    "h": 286.2
  },
  "luminance": 0.01071
}

Semantic roles & 50–950 ramp

primary
#1D0D4C
secondary
#70872E
accent
#EE3AC0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1D0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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