#140E2D#140E2D

#140E2D is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.2% C 0.060 H 288.4°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#140E2D
RGBrgb(20, 14, 45)
HSLhsl(252, 53%, 12%)
HSVhsv(252, 69%, 18%)
CMYKcmyk(55.6%, 68.9%, 0%, 82.4%)
CIE-LABlab(5.89, 12.16, -19.55)
CIE-LCHlch(5.89, 23.02, 301.88°)
OKLaboklab(19.23% 0.0189 -0.0568)
OKLCHoklch(19.23% 0.06 288.4)
XYZxyz(0.9190, 0.6522, 2.5596)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E2D #272D0E
analogous
#0E182D #140E2D #240E2D
triadic
#140E2D #2D140E #0E2D14
tetradic
#140E2D #2D0E18 #272D0E #0E2D24
square
#140E2D #2D0E18 #272D0E #0E2D24
split-complementary
#140E2D #2D240E #182D0E
monochromatic
#0A0717 #0A0717 #140E2D #291D5C #3D2B8A

Accessibility & contrast

On white

18.58
#140E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E2D
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E2D#FFFFFF#000000##FFFFFF
##140E2D1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142E
Deuteranopia (green-blind)
#01122C
Tritanopia (blue-blind)
#0C151B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140e2d;
/* rgb */ color: rgb(20, 14, 45);
/* oklch */ color: oklch(19.2% 0.060 288.4);
Tailwind
colors: {
  custom: {
    50: '#534d66',
    500: '#140e2d',
    950: '#000000',
  },
}
SCSS
$custom: #140e2d;
$custom-light: #534d66;
$custom-dark: #000000;
JSON
{
  "hex": "#140e2d",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 251.613,
    "s": 52.542,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19226,
    "c": 0.05985,
    "h": 288.4
  },
  "luminance": 0.00652
}

Semantic roles & 50–950 ramp

primary
#140E2D
secondary
#5C6730
accent
#DC4CC0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #140E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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