#140C20#140C20

#140C20 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 17.7% C 0.041 H 300.7°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#140C20
RGBrgb(20, 12, 32)
HSLhsl(264, 45%, 9%)
HSVhsv(264, 63%, 13%)
CMYKcmyk(37.5%, 62.5%, 0%, 87.5%)
CIE-LABlab(4.66, 7.79, -11.57)
CIE-LCHlch(4.66, 13.95, 303.97°)
OKLaboklab(17.69% 0.0211 -0.0354)
OKLCHoklch(17.69% 0.041 300.7)
XYZxyz(0.6806, 0.5159, 1.4300)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140C20 #18200C
analogous
#0C0E20 #140C20 #1E0C20
triadic
#140C20 #20140C #0C2014
tetradic
#140C20 #200C0E #18200C #0C201E
square
#140C20 #200C0E #18200C #0C201E
split-complementary
#140C20 #201E0C #0E200C
monochromatic
#0E0816 #0E0816 #140C20 #301D4D #4C2D79

Accessibility & contrast

On white

19.04
#140C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140C20
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140C20#FFFFFF#000000##FFFFFF
##140C201.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071021
Deuteranopia (green-blind)
#08101F
Tritanopia (blue-blind)
#121014
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140c20;
/* rgb */ color: rgb(20, 12, 32);
/* oklch */ color: oklch(17.7% 0.041 300.7);
Tailwind
colors: {
  custom: {
    50: '#514c5b',
    500: '#140c20',
    950: '#000000',
  },
}
SCSS
$custom: #140c20;
$custom-light: #514c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#140c20",
  "rgb": {
    "r": 20,
    "g": 12,
    "b": 32
  },
  "hsl": {
    "h": 264,
    "s": 45.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.17686,
    "c": 0.0412,
    "h": 300.7
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#140C20
secondary
#485A2E
accent
#D553A1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #140C20

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

Preview Lab → · Contrast checker → · Palette generator →

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