#1D0B2F#1D0B2F

#1D0B2F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.070 H 303.7°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#1D0B2F
RGBrgb(29, 11, 47)
HSLhsl(270, 62%, 11%)
HSVhsv(270, 77%, 18%)
CMYKcmyk(38.3%, 76.6%, 0%, 81.6%)
CIE-LABlab(6.38, 17.98, -20.21)
CIE-LCHlch(6.38, 27.05, 311.67°)
OKLaboklab(19.98% 0.0386 -0.0579)
OKLCHoklch(19.98% 0.07 303.7)
XYZxyz(1.1393, 0.7058, 2.7650)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0B2F #1D2F0B
analogous
#0B0B2F #1D0B2F #2F0B2F
triadic
#1D0B2F #2F1D0B #0B2F1D
tetradic
#1D0B2F #2F0B0B #1D2F0B #0B2F2F
square
#1D0B2F #2F0B0B #1D2F0B #0B2F2F
split-complementary
#1D0B2F #2F2F0B #0B2F0B
monochromatic
#0F0619 #0F0619 #1D0B2F #3C1761 #5A2292

Accessibility & contrast

On white

18.40
#1D0B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1D0B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0B2F
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0B2F#FFFFFF#000000##FFFFFF
##1D0B2F1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#1A131B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d0b2f;
/* rgb */ color: rgb(29, 11, 47);
/* oklch */ color: oklch(20.0% 0.070 303.7);
Tailwind
colors: {
  custom: {
    50: '#5a4b68',
    500: '#1d0b2f',
    950: '#000000',
  },
}
SCSS
$custom: #1d0b2f;
$custom-light: #5a4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0b2f",
  "rgb": {
    "r": 29,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 270,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19983,
    "c": 0.0696,
    "h": 303.7
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#1D0B2F
secondary
#4B6B2A
accent
#E54394
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1D0B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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