#1D002B#1D002B

#1D002B is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.5% C 0.088 H 312.4°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#1D002B
RGBrgb(29, 0, 43)
HSLhsl(280, 100%, 8%)
HSVhsv(280, 100%, 17%)
CMYKcmyk(32.6%, 100%, 0%, 83.1%)
CIE-LABlab(3.94, 21.50, -21.07)
CIE-LCHlch(3.94, 30.10, 315.58°)
OKLaboklab(17.53% 0.059 -0.0647)
OKLCHoklch(17.53% 0.088 312.4)
XYZxyz(0.9427, 0.4357, 2.3195)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D002B #0E2B00
analogous
#07002B #1D002B #2B0023
triadic
#1D002B #2B1D00 #002B1D
tetradic
#1D002B #2B0700 #0E2B00 #00232B
square
#1D002B #2B0700 #0E2B00 #00232B
split-complementary
#1D002B #232B00 #002B07
monochromatic
#15001F #15001F #1D002B #460068 #7000A5

Accessibility & contrast

On white

19.32
#1D002B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1D002B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D002B
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D002B#FFFFFF#000000##FFFFFF
##1D002B1.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2C
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#1B0915
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1d002b;
/* rgb */ color: rgb(29, 0, 43);
/* oklch */ color: oklch(17.5% 0.088 312.4);
Tailwind
colors: {
  custom: {
    50: '#5a4664',
    500: '#1d002b',
    950: '#000000',
  },
}
SCSS
$custom: #1d002b;
$custom-light: #5a4664;
$custom-dark: #000000;
JSON
{
  "hex": "#1d002b",
  "rgb": {
    "r": 29,
    "g": 0,
    "b": 43
  },
  "hsl": {
    "h": 280.465,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.17533,
    "c": 0.08756,
    "h": 312.4
  },
  "luminance": 0.00436
}

Semantic roles & 50–950 ramp

primary
#1D002B
secondary
#337314
accent
#FF296F
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1D002B

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

Preview Lab → · Contrast checker → · Palette generator →

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