#140940#140940

#140940 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.097 H 282.8°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#140940
RGBrgb(20, 9, 64)
HSLhsl(252, 75%, 14%)
HSVhsv(252, 86%, 25%)
CMYKcmyk(68.8%, 85.9%, 0%, 74.9%)
CIE-LABlab(6.45, 23.15, -32.52)
CIE-LCHlch(6.45, 39.91, 305.44°)
OKLaboklab(20.31% 0.0214 -0.0943)
OKLCHoklch(20.31% 0.097 282.8)
XYZxyz(1.3113, 0.7142, 4.9182)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140940 #354009
analogous
#091A40 #140940 #300940
triadic
#140940 #401409 #094014
tetradic
#140940 #40091A #354009 #094030
square
#140940 #40091A #354009 #094030
split-complementary
#140940 #403009 #1A4009
monochromatic
#08041B #08041B #140940 #251176 #3618AB

Accessibility & contrast

On white

18.38
#140940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#140940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140940
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140940#FFFFFF#000000##FFFFFF
##1409401.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00123F
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #140940;
/* rgb */ color: rgb(20, 9, 64);
/* oklch */ color: oklch(20.3% 0.097 282.8);
Tailwind
colors: {
  custom: {
    50: '#584a75',
    500: '#140940',
    950: '#000000',
  },
}
SCSS
$custom: #140940;
$custom-light: #584a75;
$custom-dark: #000000;
JSON
{
  "hex": "#140940",
  "rgb": {
    "r": 20,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 252,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20306,
    "c": 0.09671,
    "h": 282.8
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#140940
secondary
#6C7E27
accent
#F236CC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #140940

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

Preview Lab → · Contrast checker → · Palette generator →

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