#1D0B4E#1D0B4E

#1D0B4E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.112 H 286.0°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#1D0B4E
RGBrgb(29, 11, 78)
HSLhsl(256, 75%, 17%)
HSVhsv(256, 86%, 31%)
CMYKcmyk(62.8%, 85.9%, 0%, 69.4%)
CIE-LABlab(9.41, 28.56, -37.46)
CIE-LCHlch(9.41, 47.10, 307.32°)
OKLaboklab(23.19% 0.031 -0.1079)
OKLCHoklch(23.19% 0.112 286)
XYZxyz(2.0011, 1.0505, 7.3036)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0B4E #3C4E0B
analogous
#0B1B4E #1D0B4E #3E0B4E
triadic
#1D0B4E #4E1D0B #0B4E1D
tetradic
#1D0B4E #4E0B1B #3C4E0B #0B4E3E
square
#1D0B4E #4E0B1B #3C4E0B #0B4E3E
split-complementary
#1D0B4E #4E3E0B #1B4E0B
monochromatic
#0A041B #0A041B #1D0B4E #311384 #451AB9

Accessibility & contrast

On white

17.35
#1D0B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1D0B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0B4E
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0B4E#FFFFFF#000000##FFFFFF
##1D0B4E1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#051F2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1d0b4e;
/* rgb */ color: rgb(29, 11, 78);
/* oklch */ color: oklch(23.2% 0.112 286.0);
Tailwind
colors: {
  custom: {
    50: '#604c80',
    500: '#1d0b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1d0b4e;
$custom-light: #604c80;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0b4e",
  "rgb": {
    "r": 29,
    "g": 11,
    "b": 78
  },
  "hsl": {
    "h": 256.119,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2319,
    "c": 0.11225,
    "h": 286
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#1D0B4E
secondary
#708A2B
accent
#F236BF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #1D0B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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