#1A141E#1A141E

#1A141E is a very dark, muted violet. Relative luminance 0.008; OKLCH L 20.3% C 0.022 H 311.6°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#1A141E
RGBrgb(26, 20, 30)
HSLhsl(276, 20%, 10%)
HSVhsv(276, 33%, 12%)
CMYKcmyk(13.3%, 33.3%, 0%, 88.2%)
CIE-LABlab(7.35, 5.54, -5.88)
CIE-LCHlch(7.35, 8.08, 313.29°)
OKLaboklab(20.33% 0.0143 -0.0161)
OKLCHoklch(20.33% 0.022 311.6)
XYZxyz(0.9105, 0.8137, 1.3371)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A141E #181E14
analogous
#15141E #1A141E #1E141D
triadic
#1A141E #1E1A14 #141E1A
tetradic
#1A141E #1E1514 #181E14 #141D1E
square
#1A141E #1E1514 #181E14 #141D1E
split-complementary
#1A141E #1D1E14 #141E15
monochromatic
#100C12 #100C12 #1A141E #3A2C43 #5A4567

Accessibility & contrast

On white

18.06
#1A141E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1A141E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A141E
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A141E#FFFFFF#000000##FFFFFF
##1A141E1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12161E
Deuteranopia (green-blind)
#14161E
Tritanopia (blue-blind)
#1A1517
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1a141e;
/* rgb */ color: rgb(26, 20, 30);
/* oklch */ color: oklch(20.3% 0.022 311.6);
Tailwind
colors: {
  custom: {
    50: '#565159',
    500: '#1a141e',
    950: '#000000',
  },
}
SCSS
$custom: #1a141e;
$custom-light: #565159;
$custom-dark: #000000;
JSON
{
  "hex": "#1a141e",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 30
  },
  "hsl": {
    "h": 276,
    "s": 20,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20331,
    "c": 0.02151,
    "h": 311.6
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#1A141E
secondary
#45513D
accent
#BD6B8C
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#030203
muted
#787878

Preview Lab

Preview with #1A141E

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

Preview Lab → · Contrast checker → · Palette generator →

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