#140E1A#140E1A

#140E1A is a very dark, muted violet. Relative luminance 0.005; OKLCH L 17.8% C 0.026 H 306.8°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#140E1A
RGBrgb(20, 14, 26)
HSLhsl(270, 30%, 8%)
HSVhsv(270, 46%, 10%)
CMYKcmyk(23.1%, 46.2%, 0%, 89.8%)
CIE-LABlab(4.85, 4.96, -6.58)
CIE-LCHlch(4.85, 8.24, 307.01°)
OKLaboklab(17.77% 0.0155 -0.0207)
OKLCHoklch(17.77% 0.026 306.8)
XYZxyz(0.6319, 0.5374, 1.0475)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E1A #141A0E
analogous
#0E0E1A #140E1A #1A0E1A
triadic
#140E1A #1A140E #0E1A14
tetradic
#140E1A #1A0E0E #141A0E #0E1A1A
square
#140E1A #1A0E0E #141A0E #0E1A1A
split-complementary
#140E1A #1A1A0E #0E1A0E
monochromatic
#0F0B14 #0F0B14 #140E1A #332342 #51396A

Accessibility & contrast

On white

18.96
#140E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#140E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E1A
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E1A#FFFFFF#000000##FFFFFF
##140E1A1.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C101A
Deuteranopia (green-blind)
#0D111A
Tritanopia (blue-blind)
#131012
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140e1a;
/* rgb */ color: rgb(20, 14, 26);
/* oklch */ color: oklch(17.8% 0.026 306.8);
Tailwind
colors: {
  custom: {
    50: '#514d56',
    500: '#140e1a',
    950: '#000000',
  },
}
SCSS
$custom: #140e1a;
$custom-light: #514d56;
$custom-dark: #000000;
JSON
{
  "hex": "#140e1a",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 26
  },
  "hsl": {
    "h": 270,
    "s": 30,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17769,
    "c": 0.0258,
    "h": 306.8
  },
  "luminance": 0.00537
}

Semantic roles & 50–950 ramp

primary
#140E1A
secondary
#425034
accent
#C66294
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020103
muted
#787778

Preview Lab

Preview with #140E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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