#140437#140437

#140437 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.092 H 289.0°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#140437
RGBrgb(20, 4, 55)
HSLhsl(259, 86%, 12%)
HSVhsv(259, 93%, 22%)
CMYKcmyk(63.6%, 92.7%, 0%, 78.4%)
CIE-LABlab(4.62, 21.46, -28.99)
CIE-LCHlch(4.62, 36.07, 306.51°)
OKLaboklab(18.34% 0.0298 -0.0865)
OKLCHoklch(18.34% 0.092 289)
XYZxyz(1.0213, 0.5113, 3.6586)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140437 #273704
analogous
#040D37 #140437 #2E0437
triadic
#140437 #371404 #043714
tetradic
#140437 #37040D #273704 #04372E
square
#140437 #37040D #273704 #04372E
split-complementary
#140437 #372E04 #0D3704
monochromatic
#0A021D #0A021D #140437 #290870 #3D0CA9

Accessibility & contrast

On white

19.05
#140437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#140437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140437
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140437#FFFFFF#000000##FFFFFF
##1404371.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001138
Deuteranopia (green-blind)
#000F36
Tritanopia (blue-blind)
#06121D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140437;
/* rgb */ color: rgb(20, 4, 55);
/* oklch */ color: oklch(18.3% 0.092 289.0);
Tailwind
colors: {
  custom: {
    50: '#56476e',
    500: '#140437',
    950: '#000000',
  },
}
SCSS
$custom: #140437;
$custom-light: #56476e;
$custom-dark: #000000;
JSON
{
  "hex": "#140437",
  "rgb": {
    "r": 20,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 258.824,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18339,
    "c": 0.09153,
    "h": 289
  },
  "luminance": 0.00511
}

Semantic roles & 50–950 ramp

primary
#140437
secondary
#5C791E
accent
#FD2BBB
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #140437

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

Preview Lab → · Contrast checker → · Palette generator →

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