#1D0127#1D0127

#1D0127 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.3% C 0.081 H 316.1°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#1D0127
RGBrgb(29, 1, 39)
HSLhsl(284, 95%, 8%)
HSVhsv(284, 97%, 15%)
CMYKcmyk(25.6%, 97.4%, 0%, 84.7%)
CIE-LABlab(3.88, 19.45, -18.10)
CIE-LCHlch(3.88, 26.57, 317.06°)
OKLaboklab(17.34% 0.0583 -0.0561)
OKLCHoklch(17.34% 0.081 316.1)
XYZxyz(0.8837, 0.4294, 1.9554)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0127 #0B2701
analogous
#0A0127 #1D0127 #27011E
triadic
#1D0127 #271D01 #01271D
tetradic
#1D0127 #270A01 #0B2701 #011E27
square
#1D0127 #270A01 #0B2701 #011E27
split-complementary
#1D0127 #1E2701 #01270A
monochromatic
#16011E #16011E #1D0127 #490363 #76049E

Accessibility & contrast

On white

19.34
#1D0127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0127
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0127#FFFFFF#000000##FFFFFF
##1D01271.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C28
Deuteranopia (green-blind)
#000F26
Tritanopia (blue-blind)
#1C0813
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1d0127;
/* rgb */ color: rgb(29, 1, 39);
/* oklch */ color: oklch(17.3% 0.081 316.1);
Tailwind
colors: {
  custom: {
    50: '#594661',
    500: '#1d0127',
    950: '#000000',
  },
}
SCSS
$custom: #1d0127;
$custom-light: #594661;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0127",
  "rgb": {
    "r": 29,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 284.211,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17344,
    "c": 0.08091,
    "h": 316.1
  },
  "luminance": 0.00429
}

Semantic roles & 50–950 ramp

primary
#1D0127
secondary
#2D6E16
accent
#FF2961
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040005
muted
#797779

Preview Lab

Preview with #1D0127

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

Preview Lab → · Contrast checker → · Palette generator →

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