#1D092A#1D092A

#1D092A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.066 H 309.4°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#1D092A
RGBrgb(29, 9, 42)
HSLhsl(276, 65%, 10%)
HSVhsv(276, 79%, 16%)
CMYKcmyk(31%, 78.6%, 0%, 83.5%)
CIE-LABlab(5.63, 17.11, -17.64)
CIE-LCHlch(5.63, 24.57, 314.14°)
OKLaboklab(19.2% 0.0421 -0.0511)
OKLCHoklch(19.2% 0.066 309.4)
XYZxyz(1.0222, 0.6238, 2.2566)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D092A #162A09
analogous
#0D092A #1D092A #2A0926
triadic
#1D092A #2A1D09 #092A1D
tetradic
#1D092A #2A0D09 #162A09 #09262A
square
#1D092A #2A0D09 #162A09 #09262A
split-complementary
#1D092A #262A09 #092A0D
monochromatic
#110519 #110519 #1D092A #40145C #631F8F

Accessibility & contrast

On white

18.67
#1D092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D092A
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D092A#FFFFFF#000000##FFFFFF
##1D092A1.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122B
Deuteranopia (green-blind)
#051329
Tritanopia (blue-blind)
#1B1018
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1d092a;
/* rgb */ color: rgb(29, 9, 42);
/* oklch */ color: oklch(19.2% 0.066 309.4);
Tailwind
colors: {
  custom: {
    50: '#5a4a63',
    500: '#1d092a',
    950: '#000000',
  },
}
SCSS
$custom: #1d092a;
$custom-light: #5a4a63;
$custom-dark: #000000;
JSON
{
  "hex": "#1d092a",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 276.364,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.19201,
    "c": 0.06621,
    "h": 309.4
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#1D092A
secondary
#416827
accent
#E84082
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #1D092A

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

Preview Lab → · Contrast checker → · Palette generator →

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