#140844#140844

#140844 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.103 H 281.6°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#140844
RGBrgb(20, 8, 68)
HSLhsl(252, 79%, 15%)
HSVhsv(252, 88%, 27%)
CMYKcmyk(70.6%, 88.2%, 0%, 73.3%)
CIE-LABlab(6.68, 25.34, -34.99)
CIE-LCHlch(6.68, 43.20, 305.91°)
OKLaboklab(20.64% 0.0208 -0.1013)
OKLCHoklch(20.64% 0.103 281.6)
XYZxyz(1.4184, 0.7396, 5.5357)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140844 #384408
analogous
#081A44 #140844 #320844
triadic
#140844 #441408 #084414
tetradic
#140844 #44081A #384408 #084432
square
#140844 #44081A #384408 #084432
split-complementary
#140844 #443208 #1A4408
monochromatic
#08031B #08031B #140844 #240E7B #3415B2

Accessibility & contrast

On white

18.29
#140844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#140844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140844
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140844#FFFFFF#000000##FFFFFF
##1408441.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001746
Deuteranopia (green-blind)
#001343
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140844;
/* rgb */ color: rgb(20, 8, 68);
/* oklch */ color: oklch(20.6% 0.103 281.6);
Tailwind
colors: {
  custom: {
    50: '#5a4979',
    500: '#140844',
    950: '#000000',
  },
}
SCSS
$custom: #140844;
$custom-light: #5a4979;
$custom-dark: #000000;
JSON
{
  "hex": "#140844",
  "rgb": {
    "r": 20,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 252,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20635,
    "c": 0.10346,
    "h": 281.6
  },
  "luminance": 0.0074
}

Semantic roles & 50–950 ramp

primary
#140844
secondary
#708226
accent
#F532CE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140844

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

Preview Lab → · Contrast checker → · Palette generator →

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