#1D001C#1D001C

#1D001C is a very dark, moderate purple. Relative luminance 0.003; OKLCH L 16.1% C 0.074 H 329.7°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#1D001C
RGBrgb(29, 0, 28)
HSLhsl(302, 100%, 6%)
HSVhsv(302, 100%, 11%)
CMYKcmyk(0%, 100%, 3.4%, 88.6%)
CIE-LABlab(3.12, 15.91, -10.63)
CIE-LCHlch(3.12, 19.13, 326.25°)
OKLaboklab(16.11% 0.0635 -0.0371)
OKLCHoklch(16.11% 0.074 329.7)
XYZxyz(0.7163, 0.3451, 1.1273)
Luminance0.0034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D001C #001D01
analogous
#0F001D #1D001C #1D000D
triadic
#1D001C #1C1D00 #001C1D
tetradic
#1D001C #1D0F00 #001D01 #000D1D
square
#1D001C #1D0F00 #001D01 #000D1D
split-complementary
#1D001C #0D1D00 #001D0F
monochromatic
#1F001E #1F001E #1F001E #5A0057 #970092

Accessibility & contrast

On white

19.64
#1D001C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D001C
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D001C#FFFFFF#000000##FFFFFF
##1D001C1.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00081D
Deuteranopia (green-blind)
#060D1B
Tritanopia (blue-blind)
#1F020C
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #1d001c;
/* rgb */ color: rgb(29, 0, 28);
/* oklch */ color: oklch(16.1% 0.074 329.7);
Tailwind
colors: {
  custom: {
    50: '#584658',
    500: '#1d001c',
    950: '#000000',
  },
}
SCSS
$custom: #1d001c;
$custom-light: #584658;
$custom-dark: #000000;
JSON
{
  "hex": "#1d001c",
  "rgb": {
    "r": 29,
    "g": 0,
    "b": 28
  },
  "hsl": {
    "h": 302.069,
    "s": 100,
    "l": 5.686
  },
  "oklch": {
    "l": 0.16107,
    "c": 0.07352,
    "h": 329.7
  },
  "luminance": 0.00345
}

Semantic roles & 50–950 ramp

primary
#1D001C
secondary
#126715
accent
#FF3029
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#030003
muted
#787778

Preview Lab

Preview with #1D001C

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

Preview Lab → · Contrast checker → · Palette generator →

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