#140D2A#140D2A

#140D2A is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.7% C 0.057 H 291.1°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#140D2A
RGBrgb(20, 13, 42)
HSLhsl(254, 53%, 11%)
HSVhsv(254, 69%, 16%)
CMYKcmyk(52.4%, 69%, 0%, 83.5%)
CIE-LABlab(5.45, 11.32, -17.99)
CIE-LCHlch(5.45, 21.26, 302.18°)
OKLaboklab(18.74% 0.0203 -0.0528)
OKLCHoklch(18.74% 0.057 291.1)
XYZxyz(0.8502, 0.6037, 2.2618)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D2A #232A0D
analogous
#0D142A #140D2A #220D2A
triadic
#140D2A #2A140D #0D2A14
tetradic
#140D2A #2A0D14 #232A0D #0D2A22
square
#140D2A #2A0D14 #232A0D #0D2A22
split-complementary
#140D2A #2A220D #142A0D
monochromatic
#0B0717 #0B0717 #140D2A #2A1B59 #412A87

Accessibility & contrast

On white

18.74
#140D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140D2A
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D2A#FFFFFF#000000##FFFFFF
##140D2A1.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02122B
Deuteranopia (green-blind)
#021129
Tritanopia (blue-blind)
#0E1319
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140d2a;
/* rgb */ color: rgb(20, 13, 42);
/* oklch */ color: oklch(18.7% 0.057 291.1);
Tailwind
colors: {
  custom: {
    50: '#524c63',
    500: '#140d2a',
    950: '#000000',
  },
}
SCSS
$custom: #140d2a;
$custom-light: #524c63;
$custom-dark: #000000;
JSON
{
  "hex": "#140d2a",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 42
  },
  "hsl": {
    "h": 254.483,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18738,
    "c": 0.05658,
    "h": 291.1
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#140D2A
secondary
#57642E
accent
#DC4CB9
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #140D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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