#1B092A#1B092A

#1B092A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.065 H 306.2°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#1B092A
RGBrgb(27, 9, 42)
HSLhsl(273, 65%, 10%)
HSVhsv(273, 79%, 16%)
CMYKcmyk(35.7%, 78.6%, 0%, 83.5%)
CIE-LABlab(5.38, 16.21, -18.05)
CIE-LCHlch(5.38, 24.26, 311.91°)
OKLaboklab(18.89% 0.0387 -0.0528)
OKLCHoklch(18.89% 0.065 306.2)
XYZxyz(0.9675, 0.5956, 2.2540)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B092A #182A09
analogous
#0A092A #1B092A #2A0929
triadic
#1B092A #2A1B09 #092A1B
tetradic
#1B092A #2A0A09 #182A09 #09292A
square
#1B092A #2A0A09 #182A09 #09292A
split-complementary
#1B092A #292A09 #092A0A
monochromatic
#100519 #100519 #1B092A #3B145C #5C1F8F

Accessibility & contrast

On white

18.76
#1B092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1B092A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B092A
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B092A#FFFFFF#000000##FFFFFF
##1B092A1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#041229
Tritanopia (blue-blind)
#181018
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1b092a;
/* rgb */ color: rgb(27, 9, 42);
/* oklch */ color: oklch(18.9% 0.065 306.2);
Tailwind
colors: {
  custom: {
    50: '#584a63',
    500: '#1b092a',
    950: '#000000',
  },
}
SCSS
$custom: #1b092a;
$custom-light: #584a63;
$custom-dark: #000000;
JSON
{
  "hex": "#1b092a",
  "rgb": {
    "r": 27,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 272.727,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.18894,
    "c": 0.06545,
    "h": 306.2
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#1B092A
secondary
#446827
accent
#E8408C
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #1B092A

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

Preview Lab → · Contrast checker → · Palette generator →

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