#140B2D#140B2D

#140B2D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.6% C 0.065 H 290.9°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#140B2D
RGBrgb(20, 11, 45)
HSLhsl(256, 61%, 11%)
HSVhsv(256, 76%, 18%)
CMYKcmyk(55.6%, 75.6%, 0%, 82.4%)
CIE-LABlab(5.22, 13.61, -20.62)
CIE-LCHlch(5.22, 24.70, 303.42°)
OKLaboklab(18.59% 0.0232 -0.0609)
OKLCHoklch(18.59% 0.065 290.9)
XYZxyz(0.8817, 0.5775, 2.5471)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B2D #242D0B
analogous
#0B132D #140B2D #250B2D
triadic
#140B2D #2D140B #0B2D14
tetradic
#140B2D #2D0B13 #242D0B #0B2D25
square
#140B2D #2D0B13 #242D0B #0B2D25
split-complementary
#140B2D #2D250B #132D0B
monochromatic
#0B0619 #0B0619 #140B2D #2A175E #40238F

Accessibility & contrast

On white

18.82
#140B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#140B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140B2D
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B2D#FFFFFF#000000##FFFFFF
##140B2D1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#0C131A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140b2d;
/* rgb */ color: rgb(20, 11, 45);
/* oklch */ color: oklch(18.6% 0.065 290.9);
Tailwind
colors: {
  custom: {
    50: '#534b66',
    500: '#140b2d',
    950: '#000000',
  },
}
SCSS
$custom: #140b2d;
$custom-light: #534b66;
$custom-dark: #000000;
JSON
{
  "hex": "#140b2d",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 255.882,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18594,
    "c": 0.06519,
    "h": 290.9
  },
  "luminance": 0.00578
}

Semantic roles & 50–950 ramp

primary
#140B2D
secondary
#59692A
accent
#E444BA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #140B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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