#1D0B45#1D0B45

#1D0B45 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.100 H 289.8°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#1D0B45
RGBrgb(29, 11, 69)
HSLhsl(259, 73%, 16%)
HSVhsv(259, 84%, 27%)
CMYKcmyk(58%, 84.1%, 0%, 72.9%)
CIE-LABlab(8.40, 25.61, -32.84)
CIE-LCHlch(8.40, 41.64, 307.95°)
OKLaboklab(22.18% 0.034 -0.0944)
OKLCHoklch(22.18% 0.1 289.8)
XYZxyz(1.7002, 0.9302, 5.7190)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0B45 #33450B
analogous
#0B1645 #1D0B45 #3A0B45
triadic
#1D0B45 #451D0B #0B451D
tetradic
#1D0B45 #450B16 #33450B #0B453A
square
#1D0B45 #450B16 #33450B #0B453A
split-complementary
#1D0B45 #453A0B #16450B
monochromatic
#0B041A #0B041A #1D0B45 #33137A #491CAF

Accessibility & contrast

On white

17.71
#1D0B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1D0B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0B45
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0B45#FFFFFF#000000##FFFFFF
##1D0B451.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001744
Tritanopia (blue-blind)
#0E1B27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1d0b45;
/* rgb */ color: rgb(29, 11, 69);
/* oklch */ color: oklch(22.2% 0.100 289.8);
Tailwind
colors: {
  custom: {
    50: '#5f4c79',
    500: '#1d0b45',
    950: '#000000',
  },
}
SCSS
$custom: #1d0b45;
$custom-light: #5f4c79;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0b45",
  "rgb": {
    "r": 29,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 258.621,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22178,
    "c": 0.10029,
    "h": 289.8
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#1D0B45
secondary
#66812A
accent
#EF39B7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0B45

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

Preview Lab → · Contrast checker → · Palette generator →

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