#140C24#140C24

#140C24 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 18.0% C 0.048 H 296.6°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#140C24
RGBrgb(20, 12, 36)
HSLhsl(260, 50%, 9%)
HSVhsv(260, 67%, 14%)
CMYKcmyk(44.4%, 66.7%, 0%, 85.9%)
CIE-LABlab(4.87, 9.26, -14.34)
CIE-LCHlch(4.87, 17.07, 302.85°)
OKLaboklab(18% 0.0216 -0.0431)
OKLCHoklch(18% 0.048 296.6)
XYZxyz(0.7383, 0.5390, 1.7339)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140C24 #1C240C
analogous
#0C1024 #140C24 #200C24
triadic
#140C24 #24140C #0C2414
tetradic
#140C24 #240C10 #1C240C #0C2420
square
#140C24 #240C10 #1C240C #0C2420
split-complementary
#140C24 #24200C #10240C
monochromatic
#0D0817 #0D0817 #140C24 #2E1B52 #472B80

Accessibility & contrast

On white

18.96
#140C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140C24
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140C24#FFFFFF#000000##FFFFFF
##140C241.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041125
Deuteranopia (green-blind)
#061023
Tritanopia (blue-blind)
#101116
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140c24;
/* rgb */ color: rgb(20, 12, 36);
/* oklch */ color: oklch(18.0% 0.048 296.6);
Tailwind
colors: {
  custom: {
    50: '#514c5e',
    500: '#140c24',
    950: '#000000',
  },
}
SCSS
$custom: #140c24;
$custom-light: #514c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#140c24",
  "rgb": {
    "r": 20,
    "g": 12,
    "b": 36
  },
  "hsl": {
    "h": 260,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18002,
    "c": 0.0482,
    "h": 296.6
  },
  "luminance": 0.00539
}

Semantic roles & 50–950 ramp

primary
#140C24
secondary
#4E5E2D
accent
#DA4EAB
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #140C24

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

Preview Lab → · Contrast checker → · Palette generator →

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