#1D092C#1D092C

#1D092C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.069 H 307.4°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#1D092C
RGBrgb(29, 9, 44)
HSLhsl(274, 66%, 10%)
HSVhsv(274, 80%, 17%)
CMYKcmyk(34.1%, 79.5%, 0%, 82.7%)
CIE-LABlab(5.77, 17.85, -18.93)
CIE-LCHlch(5.77, 26.02, 313.31°)
OKLaboklab(19.37% 0.0419 -0.0548)
OKLCHoklch(19.37% 0.069 307.4)
XYZxyz(1.0589, 0.6384, 2.4498)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D092C #182C09
analogous
#0B092C #1D092C #2C0929
triadic
#1D092C #2C1D09 #092C1D
tetradic
#1D092C #2C0B09 #182C09 #09292C
square
#1D092C #2C0B09 #182C09 #09292C
split-complementary
#1D092C #292C09 #092C0B
monochromatic
#110519 #110519 #1D092C #3E135F #601E92

Accessibility & contrast

On white

18.62
#1D092C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D092C
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D092C#FFFFFF#000000##FFFFFF
##1D092C1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#04132B
Tritanopia (blue-blind)
#1B1019
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d092c;
/* rgb */ color: rgb(29, 9, 44);
/* oklch */ color: oklch(19.4% 0.069 307.4);
Tailwind
colors: {
  custom: {
    50: '#5a4a65',
    500: '#1d092c',
    950: '#000000',
  },
}
SCSS
$custom: #1d092c;
$custom-light: #5a4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#1d092c",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 44
  },
  "hsl": {
    "h": 274.286,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19374,
    "c": 0.06896,
    "h": 307.4
  },
  "luminance": 0.00638
}

Semantic roles & 50–950 ramp

primary
#1D092C
secondary
#446A27
accent
#E93F88
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #1D092C

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

Preview Lab → · Contrast checker → · Palette generator →

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