#140A2A#140A2A

#140A2A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.062 H 293.7°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#140A2A
RGBrgb(20, 10, 42)
HSLhsl(259, 62%, 10%)
HSVhsv(259, 76%, 16%)
CMYKcmyk(52.4%, 76.2%, 0%, 83.5%)
CIE-LABlab(4.81, 12.63, -19.00)
CIE-LCHlch(4.81, 22.81, 303.61°)
OKLaboklab(18.11% 0.0249 -0.0569)
OKLCHoklch(18.11% 0.062 293.7)
XYZxyz(0.8148, 0.5330, 2.2500)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A2A #202A0A
analogous
#0A102A #140A2A #240A2A
triadic
#140A2A #2A140A #0A2A14
tetradic
#140A2A #2A0A10 #202A0A #0A2A24
square
#140A2A #2A0A10 #202A0A #0A2A24
split-complementary
#140A2A #2A240A #102A0A
monochromatic
#0C0619 #0C0619 #140A2A #2C165B #43228D

Accessibility & contrast

On white

18.98
#140A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140A2A
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A2A#FFFFFF#000000##FFFFFF
##140A2A1.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#001029
Tritanopia (blue-blind)
#0E1118
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140a2a;
/* rgb */ color: rgb(20, 10, 42);
/* oklch */ color: oklch(18.1% 0.062 293.7);
Tailwind
colors: {
  custom: {
    50: '#524b63',
    500: '#140a2a',
    950: '#000000',
  },
}
SCSS
$custom: #140a2a;
$custom-light: #524b63;
$custom-dark: #000000;
JSON
{
  "hex": "#140a2a",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 258.75,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18106,
    "c": 0.0621,
    "h": 293.7
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#140A2A
secondary
#546729
accent
#E543B2
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #140A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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