#140739#140739

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

Color values

HEX#140739
RGBrgb(20, 7, 57)
HSLhsl(256, 78%, 13%)
HSVhsv(256, 88%, 22%)
CMYKcmyk(64.9%, 87.7%, 0%, 77.6%)
CIE-LABlab(5.38, 21.02, -29.21)
CIE-LCHlch(5.38, 35.99, 305.74°)
OKLaboklab(19.14% 0.0255 -0.0858)
OKLCHoklch(19.14% 0.09 286.6)
XYZxyz(1.1028, 0.5960, 3.9270)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140739 #2C3907
analogous
#071339 #140739 #2D0739
triadic
#140739 #391407 #073914
tetradic
#140739 #390713 #2C3907 #07392D
square
#140739 #390713 #2C3907 #07392D
split-complementary
#140739 #392D07 #133907
monochromatic
#0A031B #0A031B #140739 #270E70 #3A14A6

Accessibility & contrast

On white

18.76
#140739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140739
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140739#FFFFFF#000000##FFFFFF
##1407391.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001038
Tritanopia (blue-blind)
#04151F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140739;
/* rgb */ color: rgb(20, 7, 57);
/* oklch */ color: oklch(19.1% 0.090 286.6);
Tailwind
colors: {
  custom: {
    50: '#564970',
    500: '#140739',
    950: '#000000',
  },
}
SCSS
$custom: #140739;
$custom-light: #564970;
$custom-dark: #000000;
JSON
{
  "hex": "#140739",
  "rgb": {
    "r": 20,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 255.6,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.1914,
    "c": 0.08954,
    "h": 286.6
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#140739
secondary
#627923
accent
#F533C2
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #140739

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

Preview Lab → · Contrast checker → · Palette generator →

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