#140944#140944

#140944 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.102 H 281.3°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#140944
RGBrgb(20, 9, 68)
HSLhsl(251, 77%, 15%)
HSVhsv(251, 87%, 27%)
CMYKcmyk(70.6%, 86.8%, 0%, 73.3%)
CIE-LABlab(6.88, 24.80, -34.67)
CIE-LCHlch(6.88, 42.63, 305.59°)
OKLaboklab(20.79% 0.0201 -0.1003)
OKLCHoklch(20.79% 0.102 281.3)
XYZxyz(1.4292, 0.7613, 5.5394)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140944 #394409
analogous
#091C44 #140944 #310944
triadic
#140944 #441409 #094414
tetradic
#140944 #44091C #394409 #094431
square
#140944 #44091C #394409 #094431
split-complementary
#140944 #443109 #1C4409
monochromatic
#08041B #08041B #140944 #24107A #3417B0

Accessibility & contrast

On white

18.23
#140944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140944
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140944#FFFFFF#000000##FFFFFF
##1409441.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.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: #140944;
/* rgb */ color: rgb(20, 9, 68);
/* oklch */ color: oklch(20.8% 0.102 281.3);
Tailwind
colors: {
  custom: {
    50: '#5a4a79',
    500: '#140944',
    950: '#000000',
  },
}
SCSS
$custom: #140944;
$custom-light: #5a4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#140944",
  "rgb": {
    "r": 20,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 251.186,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20788,
    "c": 0.10229,
    "h": 281.3
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#140944
secondary
#718227
accent
#F335D0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140944

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

Preview Lab → · Contrast checker → · Palette generator →

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