#1B0D2D#1B0D2D

#1B0D2D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.062 H 301.1°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#1B0D2D
RGBrgb(27, 13, 45)
HSLhsl(266, 55%, 11%)
HSVhsv(266, 71%, 18%)
CMYKcmyk(40%, 71.1%, 0%, 82.4%)
CIE-LABlab(6.42, 15.42, -18.67)
CIE-LCHlch(6.42, 24.21, 309.56°)
OKLaboklab(19.9% 0.0322 -0.0534)
OKLCHoklch(19.9% 0.062 301.1)
XYZxyz(1.0695, 0.7103, 2.5629)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D2D #1F2D0D
analogous
#0D0F2D #1B0D2D #2B0D2D
triadic
#1B0D2D #2D1B0D #0D2D1B
tetradic
#1B0D2D #2D0D0F #1F2D0D #0D2D2B
square
#1B0D2D #2D0D0F #1F2D0D #0D2D2B
split-complementary
#1B0D2D #2D2B0D #0F2D0D
monochromatic
#0E0718 #0E0718 #1B0D2D #371B5C #54288C

Accessibility & contrast

On white

18.39
#1B0D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1B0D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0D2D
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0D2D#FFFFFF#000000##FFFFFF
##1B0D2D1.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02142E
Deuteranopia (green-blind)
#05142C
Tritanopia (blue-blind)
#17141B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1b0d2d;
/* rgb */ color: rgb(27, 13, 45);
/* oklch */ color: oklch(19.9% 0.062 301.1);
Tailwind
colors: {
  custom: {
    50: '#594c66',
    500: '#1b0d2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d2d;
$custom-light: #594c66;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d2d",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 266.25,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19899,
    "c": 0.06239,
    "h": 301.1
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#1B0D2D
secondary
#4F682E
accent
#DF499D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #1B0D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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