#140C18#140C18

#140C18 is a very dark, muted purple. Relative luminance 0.005; OKLCH L 17.1% C 0.027 H 314.0°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#140C18
RGBrgb(20, 12, 24)
HSLhsl(280, 33%, 7%)
HSVhsv(280, 50%, 9%)
CMYKcmyk(16.7%, 50%, 0%, 90.6%)
CIE-LABlab(4.31, 5.36, -5.80)
CIE-LCHlch(4.31, 7.90, 312.75°)
OKLaboklab(17.14% 0.0189 -0.0196)
OKLCHoklch(17.14% 0.027 314)
XYZxyz(0.5848, 0.4776, 0.9254)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140C18 #10180C
analogous
#0E0C18 #140C18 #180C16
triadic
#140C18 #18140C #0C1814
tetradic
#140C18 #180E0C #10180C #0C1618
square
#140C18 #180E0C #10180C #0C1618
split-complementary
#140C18 #16180C #0C180E
monochromatic
#110A14 #110A14 #140C18 #362041 #58356A

Accessibility & contrast

On white

19.17
#140C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#140C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140C18
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140C18#FFFFFF#000000##FFFFFF
##140C181.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0F18
Deuteranopia (green-blind)
#0C0F18
Tritanopia (blue-blind)
#140E10
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #140c18;
/* rgb */ color: rgb(20, 12, 24);
/* oklch */ color: oklch(17.1% 0.027 314.0);
Tailwind
colors: {
  custom: {
    50: '#514c54',
    500: '#140c18',
    950: '#000000',
  },
}
SCSS
$custom: #140c18;
$custom-light: #514c54;
$custom-dark: #000000;
JSON
{
  "hex": "#140c18",
  "rgb": {
    "r": 20,
    "g": 12,
    "b": 24
  },
  "hsl": {
    "h": 280,
    "s": 33.333,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17136,
    "c": 0.02722,
    "h": 314
  },
  "luminance": 0.00478
}

Semantic roles & 50–950 ramp

primary
#140C18
secondary
#3B4F31
accent
#C95E82
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020102
muted
#787778

Preview Lab

Preview with #140C18

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

Preview Lab → · Contrast checker → · Palette generator →

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