#140939#140939

#140939 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.087 H 285.7°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#140939
RGBrgb(20, 9, 57)
HSLhsl(254, 73%, 13%)
HSVhsv(254, 84%, 22%)
CMYKcmyk(64.9%, 84.2%, 0%, 77.6%)
CIE-LABlab(5.78, 20.07, -28.58)
CIE-LCHlch(5.78, 34.92, 305.08°)
OKLaboklab(19.49% 0.0234 -0.0834)
OKLCHoklch(19.49% 0.087 285.7)
XYZxyz(1.1245, 0.6394, 3.9343)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140939 #2E3909
analogous
#091639 #140939 #2C0939
triadic
#140939 #391409 #093914
tetradic
#140939 #390916 #2E3909 #09392C
square
#140939 #390916 #2E3909 #09392C
split-complementary
#140939 #392C09 #163909
monochromatic
#09041A #09041A #140939 #27116E #391AA3

Accessibility & contrast

On white

18.62
#140939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140939
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140939#FFFFFF#000000##FFFFFF
##1409391.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#041620
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140939;
/* rgb */ color: rgb(20, 9, 57);
/* oklch */ color: oklch(19.5% 0.087 285.7);
Tailwind
colors: {
  custom: {
    50: '#564a70',
    500: '#140939',
    950: '#000000',
  },
}
SCSS
$custom: #140939;
$custom-light: #564a70;
$custom-dark: #000000;
JSON
{
  "hex": "#140939",
  "rgb": {
    "r": 20,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 253.75,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19492,
    "c": 0.08667,
    "h": 285.7
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#140939
secondary
#657727
accent
#EF38C5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140939

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

Preview Lab → · Contrast checker → · Palette generator →

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