#1D0B2D#1D0B2D

#1D0B2D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.067 H 305.5°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#1D0B2D
RGBrgb(29, 11, 45)
HSLhsl(272, 61%, 11%)
HSVhsv(272, 76%, 18%)
CMYKcmyk(35.6%, 75.6%, 0%, 82.4%)
CIE-LABlab(6.23, 17.26, -18.94)
CIE-LCHlch(6.23, 25.63, 312.34°)
OKLaboklab(19.81% 0.0388 -0.0543)
OKLCHoklch(19.81% 0.067 305.5)
XYZxyz(1.0999, 0.6900, 2.5574)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0B2D #1B2D0B
analogous
#0C0B2D #1D0B2D #2D0B2C
triadic
#1D0B2D #2D1D0B #0B2D1D
tetradic
#1D0B2D #2D0C0B #1B2D0B #0B2C2D
square
#1D0B2D #2D0C0B #1B2D0B #0B2C2D
split-complementary
#1D0B2D #2C2D0B #0B2D0C
monochromatic
#100619 #100619 #1D0B2D #3D175E #5C238F

Accessibility & contrast

On white

18.45
#1D0B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0B2D
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0B2D#FFFFFF#000000##FFFFFF
##1D0B2D1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#05142C
Tritanopia (blue-blind)
#1A121A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d0b2d;
/* rgb */ color: rgb(29, 11, 45);
/* oklch */ color: oklch(19.8% 0.067 305.5);
Tailwind
colors: {
  custom: {
    50: '#5a4b66',
    500: '#1d0b2d',
    950: '#000000',
  },
}
SCSS
$custom: #1d0b2d;
$custom-light: #5a4b66;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0b2d",
  "rgb": {
    "r": 29,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 271.765,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19809,
    "c": 0.06672,
    "h": 305.5
  },
  "luminance": 0.0069
}

Semantic roles & 50–950 ramp

primary
#1D0B2D
secondary
#48692A
accent
#E4448F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1D0B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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