#140B2A#140B2A

#140B2A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.3% C 0.060 H 292.9°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#140B2A
RGBrgb(20, 11, 42)
HSLhsl(257, 58%, 10%)
HSVhsv(257, 74%, 16%)
CMYKcmyk(52.4%, 73.8%, 0%, 83.5%)
CIE-LABlab(5.02, 12.22, -18.68)
CIE-LCHlch(5.02, 22.32, 303.19°)
OKLaboklab(18.31% 0.0234 -0.0556)
OKLCHoklch(18.31% 0.06 292.9)
XYZxyz(0.8260, 0.5552, 2.2537)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B2A #212A0B
analogous
#0B112A #140B2A #230B2A
triadic
#140B2A #2A140B #0B2A14
tetradic
#140B2A #2A0B11 #212A0B #0B2A23
square
#140B2A #2A0B11 #212A0B #0B2A23
split-complementary
#140B2A #2A230B #112A0B
monochromatic
#0C0618 #0C0618 #140B2A #2B185A #42248B

Accessibility & contrast

On white

18.90
#140B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140B2A
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B2A#FFFFFF#000000##FFFFFF
##140B2A1.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#011029
Tritanopia (blue-blind)
#0E1218
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140b2a;
/* rgb */ color: rgb(20, 11, 42);
/* oklch */ color: oklch(18.3% 0.060 292.9);
Tailwind
colors: {
  custom: {
    50: '#524b63',
    500: '#140b2a',
    950: '#000000',
  },
}
SCSS
$custom: #140b2a;
$custom-light: #524b63;
$custom-dark: #000000;
JSON
{
  "hex": "#140b2a",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 257.419,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1831,
    "c": 0.06029,
    "h": 292.9
  },
  "luminance": 0.00555
}

Semantic roles & 50–950 ramp

primary
#140B2A
secondary
#55662B
accent
#E246B5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #140B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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