#1A121E#1A121E

#1A121E is a very dark, muted purple. Relative luminance 0.007; OKLCH L 19.8% C 0.026 H 314.2°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#1A121E
RGBrgb(26, 18, 30)
HSLhsl(280, 25%, 9%)
HSVhsv(280, 40%, 12%)
CMYKcmyk(13.3%, 40%, 0%, 88.2%)
CIE-LABlab(6.74, 6.84, -6.81)
CIE-LCHlch(6.74, 9.65, 315.15°)
OKLaboklab(19.82% 0.0184 -0.0189)
OKLCHoklch(19.82% 0.026 314.2)
XYZxyz(0.8766, 0.7460, 1.3259)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A121E #161E12
analogous
#14121E #1A121E #1E121C
triadic
#1A121E #1E1A12 #121E1A
tetradic
#1A121E #1E1412 #161E12 #121C1E
square
#1A121E #1E1412 #161E12 #121C1E
split-complementary
#1A121E #1C1E12 #121E14
monochromatic
#110B13 #110B13 #1A121E #3B2944 #5C406B

Accessibility & contrast

On white

18.27
#1A121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1A121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A121E
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A121E#FFFFFF#000000##FFFFFF
##1A121E1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10141E
Deuteranopia (green-blind)
#12151E
Tritanopia (blue-blind)
#1A1316
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1a121e;
/* rgb */ color: rgb(26, 18, 30);
/* oklch */ color: oklch(19.8% 0.026 314.2);
Tailwind
colors: {
  custom: {
    50: '#564f59',
    500: '#1a121e',
    950: '#000000',
  },
}
SCSS
$custom: #1a121e;
$custom-light: #564f59;
$custom-dark: #000000;
JSON
{
  "hex": "#1a121e",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 280,
    "s": 25,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19821,
    "c": 0.02639,
    "h": 314.2
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#1A121E
secondary
#42523A
accent
#C16685
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#030203
muted
#787878

Preview Lab

Preview with #1A121E

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

Preview Lab → · Contrast checker → · Palette generator →

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