#1B0937#1B0937

#1B0937 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.084 H 295.8°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#1B0937
RGBrgb(27, 9, 55)
HSLhsl(263, 72%, 13%)
HSVhsv(263, 84%, 22%)
CMYKcmyk(50.9%, 83.6%, 0%, 78.4%)
CIE-LABlab(6.36, 21.29, -26.14)
CIE-LCHlch(6.36, 33.71, 309.17°)
OKLaboklab(20.14% 0.0365 -0.0754)
OKLCHoklch(20.14% 0.084 295.8)
XYZxyz(1.2391, 0.7042, 3.6843)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0937 #253709
analogous
#090E37 #1B0937 #320937
triadic
#1B0937 #371B09 #09371B
tetradic
#1B0937 #37090E #253709 #093732
square
#1B0937 #37090E #253709 #093732
split-complementary
#1B0937 #373209 #0E3709
monochromatic
#0D041A #0D041A #1B0937 #35126C #4F1AA0

Accessibility & contrast

On white

18.41
#1B0937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0937
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0937#FFFFFF#000000##FFFFFF
##1B09371.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#13151F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1b0937;
/* rgb */ color: rgb(27, 9, 55);
/* oklch */ color: oklch(20.1% 0.084 295.8);
Tailwind
colors: {
  custom: {
    50: '#5b4a6e',
    500: '#1b0937',
    950: '#000000',
  },
}
SCSS
$custom: #1b0937;
$custom-light: #5b4a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0937",
  "rgb": {
    "r": 27,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 263.478,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20138,
    "c": 0.08377,
    "h": 295.8
  },
  "luminance": 0.00704
}

Semantic roles & 50–950 ramp

primary
#1B0937
secondary
#567527
accent
#EF39A8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1B0937

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

Preview Lab → · Contrast checker → · Palette generator →

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