#1D0B56#1D0B56

#1D0B56 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.1% C 0.123 H 283.3°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#1D0B56
RGBrgb(29, 11, 86)
HSLhsl(254, 77%, 19%)
HSVhsv(254, 87%, 34%)
CMYKcmyk(66.3%, 87.2%, 0%, 66.3%)
CIE-LABlab(10.35, 31.16, -41.39)
CIE-LCHlch(10.35, 51.80, 306.97°)
OKLaboklab(24.13% 0.0281 -0.1193)
OKLCHoklch(24.13% 0.123 283.3)
XYZxyz(2.3056, 1.1723, 8.9071)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0B56 #44560B
analogous
#0B1F56 #1D0B56 #430B56
triadic
#1D0B56 #561D0B #0B561D
tetradic
#1D0B56 #560B1F #44560B #0B5643
square
#1D0B56 #560B1F #44560B #0B5643
split-complementary
#1D0B56 #56430B #1F560B
monochromatic
#09031B #0B0420 #1D0B56 #2F128C #4219C3

Accessibility & contrast

On white

17.01
#1D0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1D0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0B56
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0B56#FFFFFF#000000##FFFFFF
##1D0B561.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E58
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1d0b56;
/* rgb */ color: rgb(29, 11, 86);
/* oklch */ color: oklch(24.1% 0.123 283.3);
Tailwind
colors: {
  custom: {
    50: '#624d87',
    500: '#1d0b56',
    950: '#000000',
  },
}
SCSS
$custom: #1d0b56;
$custom-light: #624d87;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0b56",
  "rgb": {
    "r": 29,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 254.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24129,
    "c": 0.12261,
    "h": 283.3
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#1D0B56
secondary
#79912B
accent
#F434C6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06010B
muted
#7A777C

Preview Lab

Preview with #1D0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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