#1E142A#1E142A

#1E142A is a very dark, muted violet. Relative luminance 0.009; OKLCH L 21.6% C 0.044 H 303.9°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#1E142A
RGBrgb(30, 20, 42)
HSLhsl(267, 35%, 12%)
HSVhsv(267, 52%, 16%)
CMYKcmyk(28.6%, 52.4%, 0%, 83.5%)
CIE-LABlab(8.51, 10.88, -13.10)
CIE-LCHlch(8.51, 17.03, 309.73°)
OKLaboklab(21.57% 0.0245 -0.0365)
OKLCHoklch(21.57% 0.044 303.9)
XYZxyz(1.2034, 0.9435, 2.3088)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E142A #202A14
analogous
#14152A #1E142A #29142A
triadic
#1E142A #2A1E14 #142A1E
tetradic
#1E142A #2A1415 #202A14 #142A29
square
#1E142A #2A1415 #202A14 #142A29
split-complementary
#1E142A #2A2914 #152A14
monochromatic
#0F0A15 #0F0A15 #1E142A #3C2853 #593B7D

Accessibility & contrast

On white

17.67
#1E142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E142A
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E142A#FFFFFF#000000##FFFFFF
##1E142A1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F182B
Deuteranopia (green-blind)
#111929
Tritanopia (blue-blind)
#1C181C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1e142a;
/* rgb */ color: rgb(30, 20, 42);
/* oklch */ color: oklch(21.6% 0.044 303.9);
Tailwind
colors: {
  custom: {
    50: '#5a5163',
    500: '#1e142a',
    950: '#000000',
  },
}
SCSS
$custom: #1e142a;
$custom-light: #5a5163;
$custom-dark: #000000;
JSON
{
  "hex": "#1e142a",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 267.273,
    "s": 35.484,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2157,
    "c": 0.04396,
    "h": 303.9
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#1E142A
secondary
#4F603A
accent
#CC5C99
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040205
muted
#797879

Preview Lab

Preview with #1E142A

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

Preview Lab → · Contrast checker → · Palette generator →

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