#1D0D4B#1D0D4B

#1D0D4B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.106 H 286.6°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#1D0D4B
RGBrgb(29, 13, 75)
HSLhsl(255, 70%, 17%)
HSVhsv(255, 83%, 29%)
CMYKcmyk(61.3%, 82.7%, 0%, 70.6%)
CIE-LABlab(9.46, 26.45, -35.29)
CIE-LCHlch(9.46, 44.10, 306.85°)
OKLaboklab(23.12% 0.0303 -0.1016)
OKLCHoklch(23.12% 0.106 286.6)
XYZxyz(1.9202, 1.0570, 6.7581)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0D4B #3B4B0D
analogous
#0D1C4B #1D0D4B #3C0D4B
triadic
#1D0D4B #4B1D0D #0D4B1D
tetradic
#1D0D4B #4B0D1C #3B4B0D #0D4B3C
square
#1D0D4B #4B0D1C #3B4B0D #0D4B3C
split-complementary
#1D0D4B #4B3C0D #1C4B0D
monochromatic
#0A051A #0A051A #1D0D4B #31167F #451FB3

Accessibility & contrast

On white

17.34
#1D0D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0D4B
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0D4B#FFFFFF#000000##FFFFFF
##1D0D4B1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#00194A
Tritanopia (blue-blind)
#081E2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1d0d4b;
/* rgb */ color: rgb(29, 13, 75);
/* oklch */ color: oklch(23.1% 0.106 286.6);
Tailwind
colors: {
  custom: {
    50: '#604d7e',
    500: '#1d0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #1d0d4b;
$custom-light: #604d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0d4b",
  "rgb": {
    "r": 29,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 255.484,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23124,
    "c": 0.10601,
    "h": 286.6
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#1D0D4B
secondary
#6F862E
accent
#ED3BBF
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1D0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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