#1D0B49#1D0B49

#1D0B49 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.106 H 288.0°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#1D0B49
RGBrgb(29, 11, 73)
HSLhsl(257, 74%, 16%)
HSVhsv(257, 85%, 29%)
CMYKcmyk(60.3%, 84.9%, 0%, 71.4%)
CIE-LABlab(8.84, 26.92, -34.92)
CIE-LCHlch(8.84, 44.10, 307.63°)
OKLaboklab(22.62% 0.0327 -0.1005)
OKLCHoklch(22.62% 0.106 288)
XYZxyz(1.8286, 0.9815, 6.3951)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0B49 #37490B
analogous
#0B1849 #1D0B49 #3C0B49
triadic
#1D0B49 #491D0B #0B491D
tetradic
#1D0B49 #490B18 #37490B #0B493C
square
#1D0B49 #490B18 #37490B #0B493C
split-complementary
#1D0B49 #493C0B #18490B
monochromatic
#0B041B #0B041B #1D0B49 #32137E #471BB3

Accessibility & contrast

On white

17.55
#1D0B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1D0B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0B49
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0B49#FFFFFF#000000##FFFFFF
##1D0B491.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001848
Tritanopia (blue-blind)
#0B1D29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1d0b49;
/* rgb */ color: rgb(29, 11, 73);
/* oklch */ color: oklch(22.6% 0.106 288.0);
Tailwind
colors: {
  custom: {
    50: '#5f4c7c',
    500: '#1d0b49',
    950: '#000000',
  },
}
SCSS
$custom: #1d0b49;
$custom-light: #5f4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0b49",
  "rgb": {
    "r": 29,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 257.419,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22621,
    "c": 0.10564,
    "h": 288
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#1D0B49
secondary
#6B852A
accent
#F037BB
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0B49

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

Preview Lab → · Contrast checker → · Palette generator →

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