#140937#140937

#140937 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.084 H 286.6°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#140937
RGBrgb(20, 9, 55)
HSLhsl(254, 72%, 13%)
HSVhsv(254, 84%, 22%)
CMYKcmyk(63.6%, 83.6%, 0%, 78.4%)
CIE-LABlab(5.60, 19.15, -27.40)
CIE-LCHlch(5.60, 33.43, 304.95°)
OKLaboklab(19.27% 0.0239 -0.0802)
OKLCHoklch(19.27% 0.084 286.6)
XYZxyz(1.0756, 0.6199, 3.6767)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140937 #2C3709
analogous
#091537 #140937 #2B0937
triadic
#140937 #371409 #093714
tetradic
#140937 #370915 #2C3709 #09372B
square
#140937 #370915 #2C3709 #09372B
split-complementary
#140937 #372B09 #153709
monochromatic
#0A041A #0A041A #140937 #27126C #3A1AA0

Accessibility & contrast

On white

18.68
#140937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140937
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140937#FFFFFF#000000##FFFFFF
##1409371.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#06151F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140937;
/* rgb */ color: rgb(20, 9, 55);
/* oklch */ color: oklch(19.3% 0.084 286.6);
Tailwind
colors: {
  custom: {
    50: '#564a6e',
    500: '#140937',
    950: '#000000',
  },
}
SCSS
$custom: #140937;
$custom-light: #564a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#140937",
  "rgb": {
    "r": 20,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 254.348,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19266,
    "c": 0.08374,
    "h": 286.6
  },
  "luminance": 0.0062
}

Semantic roles & 50–950 ramp

primary
#140937
secondary
#627527
accent
#EF39C3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140937

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

Preview Lab → · Contrast checker → · Palette generator →

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