#140A2D#140A2D

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

Color values

HEX#140A2D
RGBrgb(20, 10, 45)
HSLhsl(257, 64%, 11%)
HSVhsv(257, 78%, 18%)
CMYKcmyk(55.6%, 77.8%, 0%, 82.4%)
CIE-LABlab(5.02, 14.03, -20.94)
CIE-LCHlch(5.02, 25.21, 303.83°)
OKLaboklab(18.4% 0.0246 -0.0622)
OKLCHoklch(18.4% 0.067 291.6)
XYZxyz(0.8706, 0.5552, 2.5434)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A2D #232D0A
analogous
#0A112D #140A2D #250A2D
triadic
#140A2D #2D140A #0A2D14
tetradic
#140A2D #2D0A11 #232D0A #0A2D25
square
#140A2D #2D0A11 #232D0A #0A2D25
split-complementary
#140A2D #2D250A #112D0A
monochromatic
#0B0619 #0B0619 #140A2D #2A155F #412091

Accessibility & contrast

On white

18.90
#140A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#140A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A2D
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A2D#FFFFFF#000000##FFFFFF
##140A2D1.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#0D121A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140a2d;
/* rgb */ color: rgb(20, 10, 45);
/* oklch */ color: oklch(18.4% 0.067 291.6);
Tailwind
colors: {
  custom: {
    50: '#534b66',
    500: '#140a2d',
    950: '#000000',
  },
}
SCSS
$custom: #140a2d;
$custom-light: #534b66;
$custom-dark: #000000;
JSON
{
  "hex": "#140a2d",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 257.143,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18397,
    "c": 0.0669,
    "h": 291.6
  },
  "luminance": 0.00555
}

Semantic roles & 50–950 ramp

primary
#140A2D
secondary
#576A29
accent
#E741B7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #140A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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