#140D2E#140D2E

#140D2E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.063 H 288.7°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#140D2E
RGBrgb(20, 13, 46)
HSLhsl(253, 56%, 12%)
HSVhsv(253, 72%, 18%)
CMYKcmyk(56.5%, 71.7%, 0%, 82%)
CIE-LABlab(5.73, 13.12, -20.56)
CIE-LCHlch(5.73, 24.39, 302.55°)
OKLaboklab(19.1% 0.0203 -0.06)
OKLCHoklch(19.1% 0.063 288.7)
XYZxyz(0.9254, 0.6338, 2.6578)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D2E #272E0D
analogous
#0D172E #140D2E #250D2E
triadic
#140D2E #2E140D #0D2E14
tetradic
#140D2E #2E0D17 #272E0D #0D2E25
square
#140D2E #2E0D17 #272E0D #0D2E25
split-complementary
#140D2E #2E250D #172E0D
monochromatic
#0A0718 #0A0718 #140D2E #291A5E #3D288D

Accessibility & contrast

On white

18.64
#140D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140D2E
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D2E#FFFFFF#000000##FFFFFF
##140D2E1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#0C141B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140d2e;
/* rgb */ color: rgb(20, 13, 46);
/* oklch */ color: oklch(19.1% 0.063 288.7);
Tailwind
colors: {
  custom: {
    50: '#534c67',
    500: '#140d2e',
    950: '#000000',
  },
}
SCSS
$custom: #140d2e;
$custom-light: #534c67;
$custom-dark: #000000;
JSON
{
  "hex": "#140d2e",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 252.727,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19102,
    "c": 0.06333,
    "h": 288.7
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#140D2E
secondary
#5C692E
accent
#DF49BF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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