#1B092C#1B092C

#1B092C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.068 H 304.3°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#1B092C
RGBrgb(27, 9, 44)
HSLhsl(271, 66%, 10%)
HSVhsv(271, 80%, 17%)
CMYKcmyk(38.6%, 79.5%, 0%, 82.7%)
CIE-LABlab(5.51, 16.99, -19.35)
CIE-LCHlch(5.51, 25.75, 311.28°)
OKLaboklab(19.07% 0.0385 -0.0564)
OKLCHoklch(19.07% 0.068 304.3)
XYZxyz(1.0042, 0.6102, 2.4473)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B092C #1A2C09
analogous
#09092C #1B092C #2C092B
triadic
#1B092C #2C1B09 #092C1B
tetradic
#1B092C #2C0909 #1A2C09 #092B2C
square
#1B092C #2C0909 #1A2C09 #092B2C
split-complementary
#1B092C #2B2C09 #092C09
monochromatic
#100519 #100519 #1B092C #3A135F #591E92

Accessibility & contrast

On white

18.72
#1B092C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B092C
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B092C#FFFFFF#000000##FFFFFF
##1B092C1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#02122B
Tritanopia (blue-blind)
#181119
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1b092c;
/* rgb */ color: rgb(27, 9, 44);
/* oklch */ color: oklch(19.1% 0.068 304.3);
Tailwind
colors: {
  custom: {
    50: '#584a65',
    500: '#1b092c',
    950: '#000000',
  },
}
SCSS
$custom: #1b092c;
$custom-light: #584a65;
$custom-dark: #000000;
JSON
{
  "hex": "#1b092c",
  "rgb": {
    "r": 27,
    "g": 9,
    "b": 44
  },
  "hsl": {
    "h": 270.857,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19072,
    "c": 0.0683,
    "h": 304.3
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#1B092C
secondary
#476A27
accent
#E93F91
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #1B092C

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

Preview Lab → · Contrast checker → · Palette generator →

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