#1D0436#1D0436

#1D0436 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.091 H 301.2°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#1D0436
RGBrgb(29, 4, 54)
HSLhsl(270, 86%, 11%)
HSVhsv(270, 93%, 21%)
CMYKcmyk(46.3%, 92.6%, 0%, 78.8%)
CIE-LABlab(5.55, 24.05, -26.70)
CIE-LCHlch(5.55, 35.93, 312.01°)
OKLaboklab(19.48% 0.0472 -0.0778)
OKLCHoklch(19.48% 0.091 301.2)
XYZxyz(1.2158, 0.6144, 3.5438)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0436 #1D3604
analogous
#040436 #1D0436 #360436
triadic
#1D0436 #361D04 #04361D
tetradic
#1D0436 #360404 #1D3604 #043636
square
#1D0436 #360404 #1D3604 #043636
split-complementary
#1D0436 #363604 #043604
monochromatic
#0F021C #0F021C #1D0436 #3C086F #5A0CA8

Accessibility & contrast

On white

18.70
#1D0436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1D0436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0436
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0436#FFFFFF#000000##FFFFFF
##1D04361.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001235
Tritanopia (blue-blind)
#17111D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1d0436;
/* rgb */ color: rgb(29, 4, 54);
/* oklch */ color: oklch(19.5% 0.091 301.2);
Tailwind
colors: {
  custom: {
    50: '#5c476d',
    500: '#1d0436',
    950: '#000000',
  },
}
SCSS
$custom: #1d0436;
$custom-light: #5c476d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0436",
  "rgb": {
    "r": 29,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 270,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19481,
    "c": 0.09102,
    "h": 301.2
  },
  "luminance": 0.00614
}

Semantic roles & 50–950 ramp

primary
#1D0436
secondary
#4B781E
accent
#FC2B94
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1D0436

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

Preview Lab → · Contrast checker → · Palette generator →

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