#140B3A#140B3A

#140B3A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.085 H 284.3°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#140B3A
RGBrgb(20, 11, 58)
HSLhsl(251, 68%, 14%)
HSVhsv(251, 81%, 23%)
CMYKcmyk(65.5%, 81%, 0%, 77.3%)
CIE-LABlab(6.26, 19.54, -28.51)
CIE-LCHlch(6.26, 34.56, 304.42°)
OKLaboklab(19.95% 0.0211 -0.0827)
OKLCHoklch(19.95% 0.085 284.3)
XYZxyz(1.1717, 0.6935, 4.0743)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B3A #313A0B
analogous
#0B193A #140B3A #2B0B3A
triadic
#140B3A #3A140B #0B3A14
tetradic
#140B3A #3A0B19 #313A0B #0B3A2B
square
#140B3A #3A0B19 #313A0B #0B3A2B
split-complementary
#140B3A #3A2B0B #193A0B
monochromatic
#09051A #09051A #140B3A #26156D #371FA1

Accessibility & contrast

On white

18.44
#140B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#140B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140B3A
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B3A#FFFFFF#000000##FFFFFF
##140B3A1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#031721
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #140b3a;
/* rgb */ color: rgb(20, 11, 58);
/* oklch */ color: oklch(19.9% 0.085 284.3);
Tailwind
colors: {
  custom: {
    50: '#574b71',
    500: '#140b3a',
    950: '#000000',
  },
}
SCSS
$custom: #140b3a;
$custom-light: #574b71;
$custom-dark: #000000;
JSON
{
  "hex": "#140b3a",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 251.489,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19945,
    "c": 0.08541,
    "h": 284.3
  },
  "luminance": 0.00694
}

Semantic roles & 50–950 ramp

primary
#140B3A
secondary
#68772A
accent
#EB3DCA
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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