#1D092E#1D092E

#1D092E is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.6% C 0.072 H 305.6°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#1D092E
RGBrgb(29, 9, 46)
HSLhsl(272, 67%, 11%)
HSVhsv(272, 80%, 18%)
CMYKcmyk(37%, 80.4%, 0%, 82%)
CIE-LABlab(5.91, 18.58, -20.21)
CIE-LCHlch(5.91, 27.45, 312.60°)
OKLaboklab(19.55% 0.0417 -0.0583)
OKLCHoklch(19.55% 0.072 305.6)
XYZxyz(1.0974, 0.6539, 2.6526)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D092E #1A2E09
analogous
#0A092E #1D092E #2E092C
triadic
#1D092E #2E1D09 #092E1D
tetradic
#1D092E #2E0A09 #1A2E09 #092C2E
square
#1D092E #2E0A09 #1A2E09 #092C2E
split-complementary
#1D092E #2C2E09 #092E0A
monochromatic
#10051A #10051A #1D092E #3D1361 #5E1D94

Accessibility & contrast

On white

18.57
#1D092E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1D092E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D092E
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D092E#FFFFFF#000000##FFFFFF
##1D092E1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#02132D
Tritanopia (blue-blind)
#1A111A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d092e;
/* rgb */ color: rgb(29, 9, 46);
/* oklch */ color: oklch(19.6% 0.072 305.6);
Tailwind
colors: {
  custom: {
    50: '#5a4a67',
    500: '#1d092e',
    950: '#000000',
  },
}
SCSS
$custom: #1d092e;
$custom-light: #5a4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#1d092e",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 46
  },
  "hsl": {
    "h": 272.432,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19552,
    "c": 0.07172,
    "h": 305.6
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#1D092E
secondary
#476C27
accent
#EA3E8D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1D092E

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

Preview Lab → · Contrast checker → · Palette generator →

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