#1D001F#1D001F

#1D001F is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.4% C 0.076 H 325.8°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#1D001F
RGBrgb(29, 0, 31)
HSLhsl(296, 100%, 6%)
HSVhsv(296, 100%, 12%)
CMYKcmyk(6.5%, 100%, 0%, 87.8%)
CIE-LABlab(3.25, 16.86, -12.82)
CIE-LCHlch(3.25, 21.18, 322.76°)
OKLaboklab(16.36% 0.063 -0.0429)
OKLCHoklch(16.36% 0.076 325.8)
XYZxyz(0.7540, 0.3602, 1.3259)
Luminance0.0036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D001F #021F00
analogous
#0D001F #1D001F #1F0011
triadic
#1D001F #1F1D00 #001F1D
tetradic
#1D001F #1F0D00 #021F00 #00111F
square
#1D001F #1F0D00 #021F00 #00111F
split-complementary
#1D001F #111F00 #001F0D
monochromatic
#1D001F #1D001F #1D001F #56005C #900099

Accessibility & contrast

On white

19.59
#1D001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#1D001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D001F
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D001F#FFFFFF#000000##FFFFFF
##1D001F1.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000920
Deuteranopia (green-blind)
#050D1E
Tritanopia (blue-blind)
#1E030E
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1d001f;
/* rgb */ color: rgb(29, 0, 31);
/* oklch */ color: oklch(16.4% 0.076 325.8);
Tailwind
colors: {
  custom: {
    50: '#58465a',
    500: '#1d001f',
    950: '#000000',
  },
}
SCSS
$custom: #1d001f;
$custom-light: #58465a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d001f",
  "rgb": {
    "r": 29,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 296.129,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.16364,
    "c": 0.07622,
    "h": 325.8
  },
  "luminance": 0.0036
}

Semantic roles & 50–950 ramp

primary
#1D001F
secondary
#186812
accent
#FF2937
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#030004
muted
#787779

Preview Lab

Preview with #1D001F

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

Preview Lab → · Contrast checker → · Palette generator →

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