#140736#140736

#140736 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.085 H 288.1°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#140736
RGBrgb(20, 7, 54)
HSLhsl(257, 77%, 12%)
HSVhsv(257, 87%, 21%)
CMYKcmyk(63%, 87%, 0%, 78.8%)
CIE-LABlab(5.12, 19.61, -27.44)
CIE-LCHlch(5.12, 33.73, 305.55°)
OKLaboklab(18.79% 0.0265 -0.0811)
OKLCHoklch(18.79% 0.085 288.1)
XYZxyz(1.0301, 0.5670, 3.5445)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140736 #293607
analogous
#071236 #140736 #2C0736
triadic
#140736 #361407 #073614
tetradic
#140736 #360712 #293607 #07362C
square
#140736 #360712 #293607 #07362C
split-complementary
#140736 #362C07 #123607
monochromatic
#0A041B #0A041B #140736 #280E6C #3C15A2

Accessibility & contrast

On white

18.86
#140736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#140736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140736
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140736#FFFFFF#000000##FFFFFF
##1407361.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001035
Tritanopia (blue-blind)
#07141E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140736;
/* rgb */ color: rgb(20, 7, 54);
/* oklch */ color: oklch(18.8% 0.085 288.1);
Tailwind
colors: {
  custom: {
    50: '#56496d',
    500: '#140736',
    950: '#000000',
  },
}
SCSS
$custom: #140736;
$custom-light: #56496d;
$custom-dark: #000000;
JSON
{
  "hex": "#140736",
  "rgb": {
    "r": 20,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 256.596,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18791,
    "c": 0.08531,
    "h": 288.1
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#140736
secondary
#5F7623
accent
#F434BF
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #140736

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

Preview Lab → · Contrast checker → · Palette generator →

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