#140F18#140F18

#140F18 is a very dark, near-neutral violet. Relative luminance 0.006; OKLCH L 17.9% C 0.020 H 309.7°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#140F18
RGBrgb(20, 15, 24)
HSLhsl(273, 23%, 8%)
HSVhsv(273, 38%, 9%)
CMYKcmyk(16.7%, 37.5%, 0%, 90.6%)
CIE-LABlab(5.03, 3.91, -4.76)
CIE-LCHlch(5.03, 6.16, 309.40°)
OKLaboklab(17.92% 0.0126 -0.0152)
OKLCHoklch(17.92% 0.02 309.7)
XYZxyz(0.6242, 0.5563, 0.9385)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F18 #13180F
analogous
#0F0F18 #140F18 #180F17
triadic
#140F18 #18140F #0F1814
tetradic
#140F18 #180F0F #13180F #0F1718
square
#140F18 #180F0F #13180F #0F1718
split-complementary
#140F18 #17180F #0F180F
monochromatic
#100C13 #100C13 #140F18 #33273E #533E63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##140F18#FFFFFF#000000##FFFFFF
##140F181.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)
#0E1118
Deuteranopia (green-blind)
#0F1118
Tritanopia (blue-blind)
#141012
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140f18;
/* rgb */ color: rgb(20, 15, 24);
/* oklch */ color: oklch(17.9% 0.020 309.7);
Tailwind
colors: {
  custom: {
    50: '#514e54',
    500: '#140f18',
    950: '#000000',
  },
}
SCSS
$custom: #140f18;
$custom-light: #514e54;
$custom-dark: #000000;
JSON
{
  "hex": "#140f18",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 24
  },
  "hsl": {
    "h": 273.333,
    "s": 23.077,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17915,
    "c": 0.01971,
    "h": 309.7
  },
  "luminance": 0.00556
}

Semantic roles & 50–950 ramp

primary
#140F18
secondary
#404C37
accent
#C0688F
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020102
muted
#787778

Preview Lab

Preview with #140F18

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

Preview Lab → · Contrast checker → · Palette generator →

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