#140440#140440

#140440 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.103 H 284.5°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#140440
RGBrgb(20, 4, 64)
HSLhsl(256, 88%, 13%)
HSVhsv(256, 94%, 25%)
CMYKcmyk(68.8%, 93.8%, 0%, 74.9%)
CIE-LABlab(5.47, 25.70, -34.12)
CIE-LCHlch(5.47, 42.72, 306.98°)
OKLaboklab(19.48% 0.0258 -0.1)
OKLCHoklch(19.48% 0.103 284.5)
XYZxyz(1.2570, 0.6056, 4.9002)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140440 #304004
analogous
#041240 #140440 #320440
triadic
#140440 #401404 #044014
tetradic
#140440 #400412 #304004 #044032
square
#140440 #400412 #304004 #044032
split-complementary
#140440 #403204 #124004
monochromatic
#09021D #09021D #140440 #26087A #380BB3

Accessibility & contrast

On white

18.73
#140440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#140440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140440
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140440#FFFFFF#000000##FFFFFF
##1404401.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#001623
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140440;
/* rgb */ color: rgb(20, 4, 64);
/* oklch */ color: oklch(19.5% 0.103 284.5);
Tailwind
colors: {
  custom: {
    50: '#594776',
    500: '#140440',
    950: '#000000',
  },
}
SCSS
$custom: #140440;
$custom-light: #594776;
$custom-dark: #000000;
JSON
{
  "hex": "#140440",
  "rgb": {
    "r": 20,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 256,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19479,
    "c": 0.10325,
    "h": 284.5
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#140440
secondary
#67811F
accent
#FE29C6
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #140440

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

Preview Lab → · Contrast checker → · Palette generator →

#140440 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva