#140F29#140F29

#140F29 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 19.1% C 0.051 H 289.5°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#140F29
RGBrgb(20, 15, 41)
HSLhsl(252, 46%, 11%)
HSVhsv(252, 63%, 16%)
CMYKcmyk(51.2%, 63.4%, 0%, 83.9%)
CIE-LABlab(5.88, 9.88, -16.57)
CIE-LCHlch(5.88, 19.29, 300.79°)
OKLaboklab(19.11% 0.017 -0.0481)
OKLCHoklch(19.11% 0.051 289.5)
XYZxyz(0.8594, 0.6504, 2.1777)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F29 #24290F
analogous
#0F1729 #140F29 #210F29
triadic
#140F29 #29140F #0F2914
tetradic
#140F29 #290F17 #24290F #0F2921
square
#140F29 #290F17 #24290F #0F2921
split-complementary
#140F29 #29210F #17290F
monochromatic
#0B0816 #0B0816 #140F29 #2A1F56 #403083

Accessibility & contrast

On white

18.58
#140F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F29
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F29#FFFFFF#000000##FFFFFF
##140F291.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05142A
Deuteranopia (green-blind)
#051228
Tritanopia (blue-blind)
#0E141A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140f29;
/* rgb */ color: rgb(20, 15, 41);
/* oklch */ color: oklch(19.1% 0.051 289.5);
Tailwind
colors: {
  custom: {
    50: '#524d63',
    500: '#140f29',
    950: '#000000',
  },
}
SCSS
$custom: #140f29;
$custom-light: #524d63;
$custom-dark: #000000;
JSON
{
  "hex": "#140f29",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 251.538,
    "s": 46.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19107,
    "c": 0.051,
    "h": 289.5
  },
  "luminance": 0.0065
}

Semantic roles & 50–950 ramp

primary
#140F29
secondary
#596232
accent
#D652BD
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #140F29

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

Preview Lab → · Contrast checker → · Palette generator →

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