#140E2A#140E2A

#140E2A is a very dark, muted violet. Relative luminance 0.006; OKLCH L 19.0% C 0.055 H 290.1°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#140E2A
RGBrgb(20, 14, 42)
HSLhsl(253, 50%, 11%)
HSVhsv(253, 67%, 16%)
CMYKcmyk(52.4%, 66.7%, 0%, 83.5%)
CIE-LABlab(5.69, 10.83, -17.62)
CIE-LCHlch(5.69, 20.68, 301.58°)
OKLaboklab(18.96% 0.0188 -0.0514)
OKLCHoklch(18.96% 0.055 290.1)
XYZxyz(0.8633, 0.6299, 2.2661)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E2A #242A0E
analogous
#0E162A #140E2A #220E2A
triadic
#140E2A #2A140E #0E2A14
tetradic
#140E2A #2A0E16 #242A0E #0E2A22
square
#140E2A #2A0E16 #242A0E #0E2A22
split-complementary
#140E2A #2A220E #162A0E
monochromatic
#0B0817 #0B0817 #140E2A #2A1D58 #402D86

Accessibility & contrast

On white

18.65
#140E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E2A
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E2A#FFFFFF#000000##FFFFFF
##140E2A1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132B
Deuteranopia (green-blind)
#041229
Tritanopia (blue-blind)
#0E141A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140e2a;
/* rgb */ color: rgb(20, 14, 42);
/* oklch */ color: oklch(19.0% 0.055 290.1);
Tailwind
colors: {
  custom: {
    50: '#534d63',
    500: '#140e2a',
    950: '#000000',
  },
}
SCSS
$custom: #140e2a;
$custom-light: #534d63;
$custom-dark: #000000;
JSON
{
  "hex": "#140e2a",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 42
  },
  "hsl": {
    "h": 252.857,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18961,
    "c": 0.05468,
    "h": 290.1
  },
  "luminance": 0.0063
}

Semantic roles & 50–950 ramp

primary
#140E2A
secondary
#596430
accent
#DA4EBC
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #140E2A

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

Preview Lab → · Contrast checker → · Palette generator →

#140E2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva