#140837#140837

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

Color values

HEX#140837
RGBrgb(20, 8, 55)
HSLhsl(255, 75%, 12%)
HSVhsv(255, 85%, 22%)
CMYKcmyk(63.6%, 85.5%, 0%, 78.4%)
CIE-LABlab(5.40, 19.62, -27.72)
CIE-LCHlch(5.40, 33.96, 305.29°)
OKLaboklab(19.09% 0.025 -0.0814)
OKLCHoklch(19.09% 0.085 287.1)
XYZxyz(1.0647, 0.5982, 3.6730)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140837 #2B3708
analogous
#081437 #140837 #2C0837
triadic
#140837 #371408 #083714
tetradic
#140837 #370814 #2B3708 #08372C
square
#140837 #370814 #2B3708 #08372C
split-complementary
#140837 #372C08 #143708
monochromatic
#0A041B #0A041B #140837 #27106C #3B18A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##140837#FFFFFF#000000##FFFFFF
##1408371.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)
#001338
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#06151E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140837;
/* rgb */ color: rgb(20, 8, 55);
/* oklch */ color: oklch(19.1% 0.085 287.1);
Tailwind
colors: {
  custom: {
    50: '#56496e',
    500: '#140837',
    950: '#000000',
  },
}
SCSS
$custom: #140837;
$custom-light: #56496e;
$custom-dark: #000000;
JSON
{
  "hex": "#140837",
  "rgb": {
    "r": 20,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 255.319,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19088,
    "c": 0.08521,
    "h": 287.1
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#140837
secondary
#617625
accent
#F137C2
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140837

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

Preview Lab → · Contrast checker → · Palette generator →

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