#1D092B#1D092B

#1D092B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.068 H 308.4°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#1D092B
RGBrgb(29, 9, 43)
HSLhsl(275, 65%, 10%)
HSVhsv(275, 79%, 17%)
CMYKcmyk(32.6%, 79.1%, 0%, 83.1%)
CIE-LABlab(5.70, 17.48, -18.29)
CIE-LCHlch(5.70, 25.30, 313.71°)
OKLaboklab(19.29% 0.042 -0.0529)
OKLCHoklch(19.29% 0.068 308.4)
XYZxyz(1.0403, 0.6310, 2.3520)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D092B #172B09
analogous
#0C092B #1D092B #2B0928
triadic
#1D092B #2B1D09 #092B1D
tetradic
#1D092B #2B0C09 #172B09 #09282B
square
#1D092B #2B0C09 #172B09 #09282B
split-complementary
#1D092B #282B09 #092B0C
monochromatic
#110519 #110519 #1D092B #3F145E #611E90

Accessibility & contrast

On white

18.65
#1D092B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D092B
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D092B#FFFFFF#000000##FFFFFF
##1D092B1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#04132A
Tritanopia (blue-blind)
#1B1018
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d092b;
/* rgb */ color: rgb(29, 9, 43);
/* oklch */ color: oklch(19.3% 0.068 308.4);
Tailwind
colors: {
  custom: {
    50: '#5a4a64',
    500: '#1d092b',
    950: '#000000',
  },
}
SCSS
$custom: #1d092b;
$custom-light: #5a4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#1d092b",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 43
  },
  "hsl": {
    "h": 275.294,
    "s": 65.385,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19287,
    "c": 0.06758,
    "h": 308.4
  },
  "luminance": 0.00631
}

Semantic roles & 50–950 ramp

primary
#1D092B
secondary
#426927
accent
#E83F85
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #1D092B

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

Preview Lab → · Contrast checker → · Palette generator →

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