#1B103D#1B103D

#1B103D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.082 H 289.1°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#1B103D
RGBrgb(27, 16, 61)
HSLhsl(255, 58%, 15%)
HSVhsv(255, 74%, 24%)
CMYKcmyk(55.7%, 73.8%, 0%, 76.1%)
CIE-LABlab(8.49, 19.30, -27.02)
CIE-LCHlch(8.49, 33.20, 305.53°)
OKLaboklab(21.93% 0.0268 -0.0774)
OKLCHoklch(21.93% 0.082 289.1)
XYZxyz(1.4793, 0.9405, 4.5176)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B103D #323D10
analogous
#101B3D #1B103D #32103D
triadic
#1B103D #3D1B10 #103D1B
tetradic
#1B103D #3D101B #323D10 #103D32
square
#1B103D #3D101B #323D10 #103D32
split-complementary
#1B103D #3D3210 #1B3D10
monochromatic
#0B0618 #0B0618 #1B103D #301D6D #46299E

Accessibility & contrast

On white

17.67
#1B103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1B103D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B103D
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B103D#FFFFFF#000000##FFFFFF
##1B103D1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#00173C
Tritanopia (blue-blind)
#101B24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1b103d;
/* rgb */ color: rgb(27, 16, 61);
/* oklch */ color: oklch(21.9% 0.082 289.1);
Tailwind
colors: {
  custom: {
    50: '#5b4e73',
    500: '#1b103d',
    950: '#000000',
  },
}
SCSS
$custom: #1b103d;
$custom-light: #5b4e73;
$custom-dark: #000000;
JSON
{
  "hex": "#1b103d",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 254.667,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21934,
    "c": 0.0819,
    "h": 289.1
  },
  "luminance": 0.00941
}

Semantic roles & 50–950 ramp

primary
#1B103D
secondary
#667732
accent
#E246BC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B103D

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

Preview Lab → · Contrast checker → · Palette generator →

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