#1A142A#1A142A

#1A142A is a very dark, muted violet. Relative luminance 0.009; OKLCH L 21.1% C 0.043 H 295.0°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#1A142A
RGBrgb(26, 20, 42)
HSLhsl(256, 35%, 12%)
HSVhsv(256, 52%, 16%)
CMYKcmyk(38.1%, 52.4%, 0%, 83.5%)
CIE-LABlab(8.01, 9.39, -13.91)
CIE-LCHlch(8.01, 16.78, 304.01°)
OKLaboklab(21.08% 0.0182 -0.039)
OKLCHoklch(21.08% 0.043 295)
XYZxyz(1.0940, 0.8871, 2.3036)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A142A #242A14
analogous
#14192A #1A142A #25142A
triadic
#1A142A #2A1A14 #142A1A
tetradic
#1A142A #2A1419 #242A14 #142A25
square
#1A142A #2A1419 #242A14 #142A25
split-complementary
#1A142A #2A2514 #192A14
monochromatic
#0D0A15 #0D0A15 #1A142A #342853 #4D3B7D

Accessibility & contrast

On white

17.84
#1A142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A142A
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A142A#FFFFFF#000000##FFFFFF
##1A142A1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182B
Deuteranopia (green-blind)
#0E1729
Tritanopia (blue-blind)
#17181C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a142a;
/* rgb */ color: rgb(26, 20, 42);
/* oklch */ color: oklch(21.1% 0.043 295.0);
Tailwind
colors: {
  custom: {
    50: '#575163',
    500: '#1a142a',
    950: '#000000',
  },
}
SCSS
$custom: #1a142a;
$custom-light: #575163;
$custom-dark: #000000;
JSON
{
  "hex": "#1a142a",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 256.364,
    "s": 35.484,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21075,
    "c": 0.04301,
    "h": 295
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#1A142A
secondary
#56603A
accent
#CC5CAD
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030205
muted
#787879

Preview Lab

Preview with #1A142A

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

Preview Lab → · Contrast checker → · Palette generator →

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