#140A2F#140A2F

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

Color values

HEX#140A2F
RGBrgb(20, 10, 47)
HSLhsl(256, 65%, 11%)
HSVhsv(256, 79%, 18%)
CMYKcmyk(57.4%, 78.7%, 0%, 81.6%)
CIE-LABlab(5.16, 14.97, -22.21)
CIE-LCHlch(5.16, 26.78, 303.99°)
OKLaboklab(18.6% 0.0244 -0.0657)
OKLCHoklch(18.6% 0.07 290.3)
XYZxyz(0.9100, 0.5710, 2.7510)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A2F #252F0A
analogous
#0A122F #140A2F #260A2F
triadic
#140A2F #2F140A #0A2F14
tetradic
#140A2F #2F0A12 #252F0A #0A2F26
square
#140A2F #2F0A12 #252F0A #0A2F26
split-complementary
#140A2F #2F260A #122F0A
monochromatic
#0B0519 #0B0519 #140A2F #291561 #3F1F94

Accessibility & contrast

On white

18.85
#140A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140A2F
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A2F#FFFFFF#000000##FFFFFF
##140A2F1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#0B131B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140a2f;
/* rgb */ color: rgb(20, 10, 47);
/* oklch */ color: oklch(18.6% 0.070 290.3);
Tailwind
colors: {
  custom: {
    50: '#544a68',
    500: '#140a2f',
    950: '#000000',
  },
}
SCSS
$custom: #140a2f;
$custom-light: #544a68;
$custom-dark: #000000;
JSON
{
  "hex": "#140a2f",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 256.216,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18597,
    "c": 0.07005,
    "h": 290.3
  },
  "luminance": 0.00571
}

Semantic roles & 50–950 ramp

primary
#140A2F
secondary
#5A6C29
accent
#E840BA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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