#140737#140737

#140737 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.087 H 287.6°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#140737
RGBrgb(20, 7, 55)
HSLhsl(256, 77%, 12%)
HSVhsv(256, 87%, 22%)
CMYKcmyk(63.6%, 87.3%, 0%, 78.4%)
CIE-LABlab(5.21, 20.08, -28.04)
CIE-LCHlch(5.21, 34.49, 305.62°)
OKLaboklab(18.91% 0.0262 -0.0827)
OKLCHoklch(18.91% 0.087 287.6)
XYZxyz(1.0539, 0.5765, 3.6694)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140737 #2A3707
analogous
#071237 #140737 #2C0737
triadic
#140737 #371407 #073714
tetradic
#140737 #370712 #2A3707 #07372C
square
#140737 #370712 #2A3707 #07372C
split-complementary
#140737 #372C07 #123707
monochromatic
#0A031B #0A031B #140737 #280E6D #3B15A4

Accessibility & contrast

On white

18.83
#140737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140737
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140737#FFFFFF#000000##FFFFFF
##1407371.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#001036
Tritanopia (blue-blind)
#06141E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140737;
/* rgb */ color: rgb(20, 7, 55);
/* oklch */ color: oklch(18.9% 0.087 287.6);
Tailwind
colors: {
  custom: {
    50: '#56496e',
    500: '#140737',
    950: '#000000',
  },
}
SCSS
$custom: #140737;
$custom-light: #56496e;
$custom-dark: #000000;
JSON
{
  "hex": "#140737",
  "rgb": {
    "r": 20,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 256.25,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18906,
    "c": 0.08673,
    "h": 287.6
  },
  "luminance": 0.00577
}

Semantic roles & 50–950 ramp

primary
#140737
secondary
#607723
accent
#F434C0
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #140737

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

Preview Lab → · Contrast checker → · Palette generator →

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