#1D092F#1D092F

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

Color values

HEX#1D092F
RGBrgb(29, 9, 47)
HSLhsl(272, 68%, 11%)
HSVhsv(272, 81%, 18%)
CMYKcmyk(38.3%, 80.9%, 0%, 81.6%)
CIE-LABlab(5.98, 18.96, -20.84)
CIE-LCHlch(5.98, 28.17, 312.29°)
OKLaboklab(19.64% 0.0416 -0.0601)
OKLCHoklch(19.64% 0.073 304.7)
XYZxyz(1.1174, 0.6618, 2.7577)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D092F #1B2F09
analogous
#0A092F #1D092F #2F092E
triadic
#1D092F #2F1D09 #092F1D
tetradic
#1D092F #2F0A09 #1B2F09 #092E2F
square
#1D092F #2F0A09 #1B2F09 #092E2F
split-complementary
#1D092F #2E2F09 #092F0A
monochromatic
#10051A #10051A #1D092F #3D1362 #5C1D96

Accessibility & contrast

On white

18.54
#1D092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D092F
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D092F#FFFFFF#000000##FFFFFF
##1D092F1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#01132E
Tritanopia (blue-blind)
#1A111A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d092f;
/* rgb */ color: rgb(29, 9, 47);
/* oklch */ color: oklch(19.6% 0.073 304.7);
Tailwind
colors: {
  custom: {
    50: '#5b4a68',
    500: '#1d092f',
    950: '#000000',
  },
}
SCSS
$custom: #1d092f;
$custom-light: #5b4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#1d092f",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 271.579,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19643,
    "c": 0.07311,
    "h": 304.7
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#1D092F
secondary
#486D27
accent
#EB3D8F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1D092F

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

Preview Lab → · Contrast checker → · Palette generator →

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