#1B103A#1B103A

#1B103A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.077 H 290.5°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#1B103A
RGBrgb(27, 16, 58)
HSLhsl(256, 57%, 15%)
HSVhsv(256, 72%, 23%)
CMYKcmyk(53.4%, 72.4%, 0%, 77.3%)
CIE-LABlab(8.21, 18.24, -25.32)
CIE-LCHlch(8.21, 31.20, 305.77°)
OKLaboklab(21.65% 0.0271 -0.0724)
OKLCHoklch(21.65% 0.077 290.5)
XYZxyz(1.4008, 0.9090, 4.1038)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B103A #2F3A10
analogous
#101A3A #1B103A #30103A
triadic
#1B103A #3A1B10 #103A1B
tetradic
#1B103A #3A101A #2F3A10 #103A30
square
#1B103A #3A101A #2F3A10 #103A30
split-complementary
#1B103A #3A3010 #1A3A10
monochromatic
#0B0718 #0B0718 #1B103A #311D6A #482A9A

Accessibility & contrast

On white

17.77
#1B103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1B103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B103A
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B103A#FFFFFF#000000##FFFFFF
##1B103A1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#111A23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1b103a;
/* rgb */ color: rgb(27, 16, 58);
/* oklch */ color: oklch(21.6% 0.077 290.5);
Tailwind
colors: {
  custom: {
    50: '#5b4e70',
    500: '#1b103a',
    950: '#000000',
  },
}
SCSS
$custom: #1b103a;
$custom-light: #5b4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#1b103a",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 255.714,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21647,
    "c": 0.07729,
    "h": 290.5
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#1B103A
secondary
#637432
accent
#E048B8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1B103A

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

Preview Lab → · Contrast checker → · Palette generator →

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