#140B2F#140B2F

#140B2F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.068 H 289.7°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#140B2F
RGBrgb(20, 11, 47)
HSLhsl(255, 62%, 11%)
HSVhsv(255, 77%, 18%)
CMYKcmyk(57.4%, 76.6%, 0%, 81.6%)
CIE-LABlab(5.36, 14.53, -21.89)
CIE-LCHlch(5.36, 26.27, 303.59°)
OKLaboklab(18.79% 0.023 -0.0644)
OKLCHoklch(18.79% 0.068 289.7)
XYZxyz(0.9211, 0.5933, 2.7548)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B2F #262F0B
analogous
#0B142F #140B2F #260B2F
triadic
#140B2F #2F140B #0B2F14
tetradic
#140B2F #2F0B14 #262F0B #0B2F26
square
#140B2F #2F0B14 #262F0B #0B2F26
split-complementary
#140B2F #2F260B #142F0B
monochromatic
#0B0619 #0B0619 #140B2F #291761 #3E2292

Accessibility & contrast

On white

18.77
#140B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140B2F
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B2F#FFFFFF#000000##FFFFFF
##140B2F1.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#0B141B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140b2f;
/* rgb */ color: rgb(20, 11, 47);
/* oklch */ color: oklch(18.8% 0.068 289.7);
Tailwind
colors: {
  custom: {
    50: '#544b68',
    500: '#140b2f',
    950: '#000000',
  },
}
SCSS
$custom: #140b2f;
$custom-light: #544b68;
$custom-dark: #000000;
JSON
{
  "hex": "#140b2f",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 255,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18789,
    "c": 0.0684,
    "h": 289.7
  },
  "luminance": 0.00593
}

Semantic roles & 50–950 ramp

primary
#140B2F
secondary
#5B6B2A
accent
#E543BD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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