#1D0B3E#1D0B3E

#1D0B3E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.091 H 293.3°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#1D0B3E
RGBrgb(29, 11, 62)
HSLhsl(261, 70%, 14%)
HSVhsv(261, 82%, 24%)
CMYKcmyk(53.2%, 82.3%, 0%, 75.7%)
CIE-LABlab(7.66, 23.30, -29.07)
CIE-LCHlch(7.66, 37.25, 308.71°)
OKLaboklab(21.43% 0.036 -0.0833)
OKLCHoklch(21.43% 0.091 293.3)
XYZxyz(1.4956, 0.8483, 4.6414)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0B3E #2C3E0B
analogous
#0B133E #1D0B3E #370B3E
triadic
#1D0B3E #3E1D0B #0B3E1D
tetradic
#1D0B3E #3E0B13 #2C3E0B #0B3E37
square
#1D0B3E #3E0B13 #2C3E0B #0B3E37
split-complementary
#1D0B3E #3E370B #133E0B
monochromatic
#0C051A #0C051A #1D0B3E #351472 #4E1DA6

Accessibility & contrast

On white

17.95
#1D0B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1D0B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0B3E
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0B3E#FFFFFF#000000##FFFFFF
##1D0B3E1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173F
Deuteranopia (green-blind)
#00163D
Tritanopia (blue-blind)
#131823
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d0b3e;
/* rgb */ color: rgb(29, 11, 62);
/* oklch */ color: oklch(21.4% 0.091 293.3);
Tailwind
colors: {
  custom: {
    50: '#5d4b74',
    500: '#1d0b3e',
    950: '#000000',
  },
}
SCSS
$custom: #1d0b3e;
$custom-light: #5d4b74;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0b3e",
  "rgb": {
    "r": 29,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 261.176,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21431,
    "c": 0.09075,
    "h": 293.3
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#1D0B3E
secondary
#5E7B2A
accent
#ED3BAE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1D0B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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