#1A181E#1A181E

#1A181E is a very dark, near-neutral violet. Relative luminance 0.010; OKLCH L 21.4% C 0.012 H 300.6°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#1A181E
RGBrgb(26, 24, 30)
HSLhsl(260, 11%, 11%)
HSVhsv(260, 20%, 12%)
CMYKcmyk(13.3%, 20%, 0%, 88.2%)
CIE-LABlab(8.71, 2.57, -3.83)
CIE-LCHlch(8.71, 4.61, 303.88°)
OKLaboklab(21.4% 0.0061 -0.0103)
OKLCHoklch(21.4% 0.012 300.6)
XYZxyz(0.9869, 0.9666, 1.3626)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A181E #1C1E18
analogous
#18191E #1A181E #1D181E
triadic
#1A181E #1E1A18 #181E1A
tetradic
#1A181E #1E1819 #1C1E18 #181E1D
square
#1A181E #1E1819 #1C1E18 #181E1D
split-complementary
#1A181E #1E1D18 #191E18
monochromatic
#0F0E11 #0F0E11 #1A181E #373340 #554E62

Accessibility & contrast

On white

17.60
#1A181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A181E
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A181E#FFFFFF#000000##FFFFFF
##1A181E1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17191E
Deuteranopia (green-blind)
#17191E
Tritanopia (blue-blind)
#19191A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1a181e;
/* rgb */ color: rgb(26, 24, 30);
/* oklch */ color: oklch(21.4% 0.012 300.6);
Tailwind
colors: {
  custom: {
    50: '#565459',
    500: '#1a181e',
    950: '#000000',
  },
}
SCSS
$custom: #1a181e;
$custom-light: #565459;
$custom-dark: #000000;
JSON
{
  "hex": "#1a181e",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 260,
    "s": 11.111,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21399,
    "c": 0.012,
    "h": 300.6
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#1A181E
secondary
#4B4F43
accent
#B4749F
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#030203
muted
#787878

Preview Lab

Preview with #1A181E

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

Preview Lab → · Contrast checker → · Palette generator →

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