#1D0128#1D0128

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

Color values

HEX#1D0128
RGBrgb(29, 1, 40)
HSLhsl(283, 95%, 8%)
HSVhsv(283, 98%, 16%)
CMYKcmyk(27.5%, 97.5%, 0%, 84.3%)
CIE-LABlab(3.94, 19.85, -18.77)
CIE-LCHlch(3.94, 27.32, 316.60°)
OKLaboklab(17.44% 0.0579 -0.0579)
OKLCHoklch(17.44% 0.082 315)
XYZxyz(0.9005, 0.4362, 2.0438)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0128 #0C2801
analogous
#090128 #1D0128 #28011F
triadic
#1D0128 #281D01 #01281D
tetradic
#1D0128 #280901 #0C2801 #011F28
square
#1D0128 #280901 #0C2801 #011F28
split-complementary
#1D0128 #1F2801 #012809
monochromatic
#16011E #16011E #1D0128 #480264 #74049F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D0128#FFFFFF#000000##FFFFFF
##1D01281.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)
#000C29
Deuteranopia (green-blind)
#000F27
Tritanopia (blue-blind)
#1C0813
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1d0128;
/* rgb */ color: rgb(29, 1, 40);
/* oklch */ color: oklch(17.4% 0.082 315.0);
Tailwind
colors: {
  custom: {
    50: '#594662',
    500: '#1d0128',
    950: '#000000',
  },
}
SCSS
$custom: #1d0128;
$custom-light: #594662;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0128",
  "rgb": {
    "r": 29,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 283.077,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.17442,
    "c": 0.08193,
    "h": 315
  },
  "luminance": 0.00436
}

Semantic roles & 50–950 ramp

primary
#1D0128
secondary
#2F6F16
accent
#FF2965
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#040005
muted
#797779

Preview Lab

Preview with #1D0128

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

Preview Lab → · Contrast checker → · Palette generator →

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