#1A161C#1A161C

#1A161C is a very dark, near-neutral purple. Relative luminance 0.009; OKLCH L 20.8% C 0.013 H 314.5°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#1A161C
RGBrgb(26, 22, 28)
HSLhsl(280, 12%, 10%)
HSVhsv(280, 21%, 11%)
CMYKcmyk(7.1%, 21.4%, 0%, 89%)
CIE-LABlab(7.92, 3.53, -3.49)
CIE-LCHlch(7.92, 4.97, 315.31°)
OKLaboklab(20.76% 0.0092 -0.0094)
OKLCHoklch(20.76% 0.013 314.5)
XYZxyz(0.9225, 0.8773, 1.2191)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A161C #181C16
analogous
#17161C #1A161C #1C161B
triadic
#1A161C #1C1A16 #161C1A
tetradic
#1A161C #1C1716 #181C16 #161B1C
square
#1A161C #1C1716 #181C16 #161B1C
split-complementary
#1A161C #1B1C16 #161C17
monochromatic
#100D11 #100D11 #1A161C #3A313E #5A4C61

Accessibility & contrast

On white

17.87
#1A161C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A161C
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A161C#FFFFFF#000000##FFFFFF
##1A161C1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171C
Deuteranopia (green-blind)
#16171C
Tritanopia (blue-blind)
#1A1718
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a161c;
/* rgb */ color: rgb(26, 22, 28);
/* oklch */ color: oklch(20.8% 0.013 314.5);
Tailwind
colors: {
  custom: {
    50: '#565258',
    500: '#1a161c',
    950: '#000000',
  },
}
SCSS
$custom: #1a161c;
$custom-light: #565258;
$custom-dark: #000000;
JSON
{
  "hex": "#1a161c",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 28
  },
  "hsl": {
    "h": 280,
    "s": 12,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20759,
    "c": 0.01317,
    "h": 314.5
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#1A161C
secondary
#454D41
accent
#B57389
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#030203
muted
#787878

Preview Lab

Preview with #1A161C

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

Preview Lab → · Contrast checker → · Palette generator →

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