#140D2F#140D2F

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

Color values

HEX#140D2F
RGBrgb(20, 13, 47)
HSLhsl(252, 57%, 12%)
HSVhsv(252, 72%, 18%)
CMYKcmyk(57.4%, 72.3%, 0%, 81.6%)
CIE-LABlab(5.80, 13.58, -21.19)
CIE-LCHlch(5.80, 25.16, 302.65°)
OKLaboklab(19.2% 0.0203 -0.0617)
OKLCHoklch(19.2% 0.065 288.2)
XYZxyz(0.9454, 0.6418, 2.7628)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D2F #282F0D
analogous
#0D172F #140D2F #250D2F
triadic
#140D2F #2F140D #0D2F14
tetradic
#140D2F #2F0D17 #282F0D #0D2F25
square
#140D2F #2F0D17 #282F0D #0D2F25
split-complementary
#140D2F #2F250D #172F0D
monochromatic
#0A0718 #0A0718 #140D2F #281A5F #3D288F

Accessibility & contrast

On white

18.61
#140D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140D2F
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D2F#FFFFFF#000000##FFFFFF
##140D2F1.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#0B151C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140d2f;
/* rgb */ color: rgb(20, 13, 47);
/* oklch */ color: oklch(19.2% 0.065 288.2);
Tailwind
colors: {
  custom: {
    50: '#544c68',
    500: '#140d2f',
    950: '#000000',
  },
}
SCSS
$custom: #140d2f;
$custom-light: #544c68;
$custom-dark: #000000;
JSON
{
  "hex": "#140d2f",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 252.353,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19196,
    "c": 0.06499,
    "h": 288.2
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#140D2F
secondary
#5E6A2E
accent
#E048C1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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