#140F22#140F22

#140F22 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.6% C 0.038 H 294.5°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#140F22
RGBrgb(20, 15, 34)
HSLhsl(256, 39%, 10%)
HSVhsv(256, 56%, 13%)
CMYKcmyk(41.2%, 55.9%, 0%, 86.7%)
CIE-LABlab(5.47, 7.05, -11.87)
CIE-LCHlch(5.47, 13.80, 300.71°)
OKLaboklab(18.56% 0.0159 -0.0348)
OKLCHoklch(18.56% 0.038 294.5)
XYZxyz(0.7480, 0.6059, 1.5906)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F22 #1D220F
analogous
#0F1422 #140F22 #1E0F22
triadic
#140F22 #22140F #0F2214
tetradic
#140F22 #220F14 #1D220F #0F221E
square
#140F22 #220F14 #1D220F #0F221E
split-complementary
#140F22 #221E0F #14220F
monochromatic
#0C0915 #0C0915 #140F22 #2D224C #463477

Accessibility & contrast

On white

18.73
#140F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F22
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F22#FFFFFF#000000##FFFFFF
##140F221.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091223
Deuteranopia (green-blind)
#0A1222
Tritanopia (blue-blind)
#111216
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140f22;
/* rgb */ color: rgb(20, 15, 34);
/* oklch */ color: oklch(18.6% 0.038 294.5);
Tailwind
colors: {
  custom: {
    50: '#514e5d',
    500: '#140f22',
    950: '#000000',
  },
}
SCSS
$custom: #140f22;
$custom-light: #514e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#140f22",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 34
  },
  "hsl": {
    "h": 255.789,
    "s": 38.776,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18561,
    "c": 0.03829,
    "h": 294.5
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#140F22
secondary
#4F5A33
accent
#CF59B0
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #140F22

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

Preview Lab → · Contrast checker → · Palette generator →

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