#140B2B#140B2B

#140B2B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.4% C 0.062 H 292.2°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#140B2B
RGBrgb(20, 11, 43)
HSLhsl(257, 59%, 11%)
HSVhsv(257, 74%, 17%)
CMYKcmyk(53.5%, 74.4%, 0%, 83.1%)
CIE-LABlab(5.08, 12.68, -19.33)
CIE-LCHlch(5.08, 23.12, 303.26°)
OKLaboklab(18.4% 0.0234 -0.0573)
OKLCHoklch(18.4% 0.062 292.2)
XYZxyz(0.8441, 0.5625, 2.3491)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B2B #222B0B
analogous
#0B122B #140B2B #240B2B
triadic
#140B2B #2B140B #0B2B14
tetradic
#140B2B #2B0B12 #222B0B #0B2B24
square
#140B2B #2B0B12 #222B0B #0B2B24
split-complementary
#140B2B #2B240B #122B0B
monochromatic
#0B0618 #0B0618 #140B2B #2B175C #41248C

Accessibility & contrast

On white

18.88
#140B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140B2B
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B2B#FFFFFF#000000##FFFFFF
##140B2B1.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#00102A
Tritanopia (blue-blind)
#0E1219
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140b2b;
/* rgb */ color: rgb(20, 11, 43);
/* oklch */ color: oklch(18.4% 0.062 292.2);
Tailwind
colors: {
  custom: {
    50: '#534b64',
    500: '#140b2b',
    950: '#000000',
  },
}
SCSS
$custom: #140b2b;
$custom-light: #534b64;
$custom-dark: #000000;
JSON
{
  "hex": "#140b2b",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 43
  },
  "hsl": {
    "h": 256.875,
    "s": 59.259,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18403,
    "c": 0.06193,
    "h": 292.2
  },
  "luminance": 0.00562
}

Semantic roles & 50–950 ramp

primary
#140B2B
secondary
#56672B
accent
#E245B6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #140B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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