#1D032D#1D032D

#1D032D is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.082 H 309.2°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#1D032D
RGBrgb(29, 3, 45)
HSLhsl(277, 88%, 9%)
HSVhsv(277, 93%, 18%)
CMYKcmyk(35.6%, 93.3%, 0%, 82.4%)
CIE-LABlab(4.66, 20.98, -21.44)
CIE-LCHlch(4.66, 30.00, 314.38°)
OKLaboklab(18.36% 0.0521 -0.0639)
OKLCHoklch(18.36% 0.082 309.2)
XYZxyz(1.0128, 0.5158, 2.5283)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D032D #132D03
analogous
#08032D #1D032D #2D0328
triadic
#1D032D #2D1D03 #032D1D
tetradic
#1D032D #2D0803 #132D03 #03282D
square
#1D032D #2D0803 #132D03 #03282D
split-complementary
#1D032D #282D03 #032D08
monochromatic
#12021D #12021D #1D032D #420766 #670BA0

Accessibility & contrast

On white

19.04
#1D032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1D032D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D032D
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D032D#FFFFFF#000000##FFFFFF
##1D032D1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#1B0C17
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1d032d;
/* rgb */ color: rgb(29, 3, 45);
/* oklch */ color: oklch(18.4% 0.082 309.2);
Tailwind
colors: {
  custom: {
    50: '#5a4766',
    500: '#1d032d',
    950: '#000000',
  },
}
SCSS
$custom: #1d032d;
$custom-light: #5a4766;
$custom-dark: #000000;
JSON
{
  "hex": "#1d032d",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 277.143,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18355,
    "c": 0.08248,
    "h": 309.2
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#1D032D
secondary
#3C711B
accent
#FE2A7B
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D032D

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

Preview Lab → · Contrast checker → · Palette generator →

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