#140744#140744

#140744 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.105 H 281.9°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#140744
RGBrgb(20, 7, 68)
HSLhsl(253, 81%, 15%)
HSVhsv(253, 90%, 27%)
CMYKcmyk(70.6%, 89.7%, 0%, 73.3%)
CIE-LABlab(6.48, 25.87, -35.31)
CIE-LCHlch(6.48, 43.77, 306.23°)
OKLaboklab(20.48% 0.0216 -0.1024)
OKLCHoklch(20.48% 0.105 281.9)
XYZxyz(1.4075, 0.7179, 5.5321)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140744 #374407
analogous
#071944 #140744 #330744
triadic
#140744 #441407 #074414
tetradic
#140744 #440719 #374407 #074433
square
#140744 #440719 #374407 #074433
split-complementary
#140744 #443307 #194407
monochromatic
#08031C #08031C #140744 #240D7B #3512B3

Accessibility & contrast

On white

18.36
#140744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#140744 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140744
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140744#FFFFFF#000000##FFFFFF
##1407441.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001646
Deuteranopia (green-blind)
#001243
Tritanopia (blue-blind)
#001926
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #140744;
/* rgb */ color: rgb(20, 7, 68);
/* oklch */ color: oklch(20.5% 0.105 281.9);
Tailwind
colors: {
  custom: {
    50: '#5a4979',
    500: '#140744',
    950: '#000000',
  },
}
SCSS
$custom: #140744;
$custom-light: #5a4979;
$custom-dark: #000000;
JSON
{
  "hex": "#140744",
  "rgb": {
    "r": 20,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 252.787,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2048,
    "c": 0.10466,
    "h": 281.9
  },
  "luminance": 0.00718
}

Semantic roles & 50–950 ramp

primary
#140744
secondary
#6F8324
accent
#F830CD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140744

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

Preview Lab → · Contrast checker → · Palette generator →

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