#140E2E#140E2E

#140E2E is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.3% C 0.062 H 287.8°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#140E2E
RGBrgb(20, 14, 46)
HSLhsl(251, 53%, 12%)
HSVhsv(251, 70%, 18%)
CMYKcmyk(56.5%, 69.6%, 0%, 82%)
CIE-LABlab(5.96, 12.61, -20.18)
CIE-LCHlch(5.96, 23.80, 301.99°)
OKLaboklab(19.32% 0.0189 -0.0586)
OKLCHoklch(19.32% 0.062 287.8)
XYZxyz(0.9385, 0.6600, 2.6622)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E2E #282E0E
analogous
#0E182E #140E2E #240E2E
triadic
#140E2E #2E140E #0E2E14
tetradic
#140E2E #2E0E18 #282E0E #0E2E24
square
#140E2E #2E0E18 #282E0E #0E2E24
split-complementary
#140E2E #2E240E #182E0E
monochromatic
#0A0717 #0A0717 #140E2E #281C5D #3D2B8C

Accessibility & contrast

On white

18.55
#140E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140E2E
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E2E#FFFFFF#000000##FFFFFF
##140E2E1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#0C151C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140e2e;
/* rgb */ color: rgb(20, 14, 46);
/* oklch */ color: oklch(19.3% 0.062 287.8);
Tailwind
colors: {
  custom: {
    50: '#534d67',
    500: '#140e2e',
    950: '#000000',
  },
}
SCSS
$custom: #140e2e;
$custom-light: #534d67;
$custom-dark: #000000;
JSON
{
  "hex": "#140e2e",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 46
  },
  "hsl": {
    "h": 251.25,
    "s": 53.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19317,
    "c": 0.06155,
    "h": 287.8
  },
  "luminance": 0.0066
}

Semantic roles & 50–950 ramp

primary
#140E2E
secondary
#5E6830
accent
#DD4BC1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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