#140B37#140B37

#140B37 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.6% C 0.081 H 285.6°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#140B37
RGBrgb(20, 11, 55)
HSLhsl(252, 67%, 13%)
HSVhsv(252, 80%, 22%)
CMYKcmyk(63.6%, 80%, 0%, 78.4%)
CIE-LABlab(6.00, 18.20, -26.76)
CIE-LCHlch(6.00, 32.37, 304.22°)
OKLaboklab(19.62% 0.0218 -0.0779)
OKLCHoklch(19.62% 0.081 285.6)
XYZxyz(1.0975, 0.6638, 3.6840)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B37 #2E370B
analogous
#0B1837 #140B37 #2A0B37
triadic
#140B37 #37140B #0B3714
tetradic
#140B37 #370B18 #2E370B #0B372A
square
#140B37 #370B18 #2E370B #0B372A
split-complementary
#140B37 #372A0B #18370B
monochromatic
#09051A #09051A #140B37 #27156A #391F9D

Accessibility & contrast

On white

18.54
#140B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140B37
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B37#FFFFFF#000000##FFFFFF
##140B371.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#001236
Tritanopia (blue-blind)
#06161F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140b37;
/* rgb */ color: rgb(20, 11, 55);
/* oklch */ color: oklch(19.6% 0.081 285.6);
Tailwind
colors: {
  custom: {
    50: '#564b6e',
    500: '#140b37',
    950: '#000000',
  },
}
SCSS
$custom: #140b37;
$custom-light: #564b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#140b37",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 252.273,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19618,
    "c": 0.08088,
    "h": 285.6
  },
  "luminance": 0.00664
}

Semantic roles & 50–950 ramp

primary
#140B37
secondary
#65742A
accent
#EA3EC7
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140B37

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

Preview Lab → · Contrast checker → · Palette generator →

#140B37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva