#140A1E#140A1E

#140A1E is a very dark, muted violet. Relative luminance 0.005; OKLCH L 17.1% C 0.042 H 305.5°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#140A1E
RGBrgb(20, 10, 30)
HSLhsl(270, 50%, 8%)
HSVhsv(270, 67%, 12%)
CMYKcmyk(33.3%, 66.7%, 0%, 88.2%)
CIE-LABlab(4.15, 7.97, -10.77)
CIE-LCHlch(4.15, 13.40, 306.49°)
OKLaboklab(17.07% 0.0245 -0.0344)
OKLCHoklch(17.07% 0.042 305.5)
XYZxyz(0.6313, 0.4595, 1.2835)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A1E #141E0A
analogous
#0A0A1E #140A1E #1E0A1E
triadic
#140A1E #1E140A #0A1E14
tetradic
#140A1E #1E0A0A #141E0A #0A1E1E
square
#140A1E #1E0A0A #141E0A #0A1E1E
split-complementary
#140A1E #1E1E0A #0A1E0A
monochromatic
#0F0817 #0F0817 #140A1E #33194C #51297A

Accessibility & contrast

On white

19.23
#140A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#140A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A1E
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A1E#FFFFFF#000000##FFFFFF
##140A1E1.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050E1F
Deuteranopia (green-blind)
#070F1D
Tritanopia (blue-blind)
#120D12
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #140a1e;
/* rgb */ color: rgb(20, 10, 30);
/* oklch */ color: oklch(17.1% 0.042 305.5);
Tailwind
colors: {
  custom: {
    50: '#514b59',
    500: '#140a1e',
    950: '#000000',
  },
}
SCSS
$custom: #140a1e;
$custom-light: #514b59;
$custom-dark: #000000;
JSON
{
  "hex": "#140a1e",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 30
  },
  "hsl": {
    "h": 270,
    "s": 50,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17073,
    "c": 0.04219,
    "h": 305.5
  },
  "luminance": 0.0046
}

Semantic roles & 50–950 ramp

primary
#140A1E
secondary
#42592B
accent
#DA4E94
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020103
muted
#787778

Preview Lab

Preview with #140A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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