#140B2E#140B2E

#140B2E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.067 H 290.3°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#140B2E
RGBrgb(20, 11, 46)
HSLhsl(255, 61%, 11%)
HSVhsv(255, 76%, 18%)
CMYKcmyk(56.5%, 76.1%, 0%, 82%)
CIE-LABlab(5.29, 14.07, -21.26)
CIE-LCHlch(5.29, 25.49, 303.51°)
OKLaboklab(18.69% 0.0231 -0.0627)
OKLCHoklch(18.69% 0.067 290.3)
XYZxyz(0.9012, 0.5853, 2.6497)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B2E #252E0B
analogous
#0B132E #140B2E #250B2E
triadic
#140B2E #2E140B #0B2E14
tetradic
#140B2E #2E0B13 #252E0B #0B2E25
square
#140B2E #2E0B13 #252E0B #0B2E25
split-complementary
#140B2E #2E250B #132E0B
monochromatic
#0B0619 #0B0619 #140B2E #29175F #3F2391

Accessibility & contrast

On white

18.80
#140B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140B2E
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B2E#FFFFFF#000000##FFFFFF
##140B2E1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#0C131B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140b2e;
/* rgb */ color: rgb(20, 11, 46);
/* oklch */ color: oklch(18.7% 0.067 290.3);
Tailwind
colors: {
  custom: {
    50: '#534b67',
    500: '#140b2e',
    950: '#000000',
  },
}
SCSS
$custom: #140b2e;
$custom-light: #534b67;
$custom-dark: #000000;
JSON
{
  "hex": "#140b2e",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 255.429,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18691,
    "c": 0.0668,
    "h": 290.3
  },
  "luminance": 0.00585
}

Semantic roles & 50–950 ramp

primary
#140B2E
secondary
#5A6A2A
accent
#E543BB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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