#140A46#140A46

#140A46 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.104 H 280.4°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#140A46
RGBrgb(20, 10, 70)
HSLhsl(250, 75%, 16%)
HSVhsv(250, 86%, 27%)
CMYKcmyk(71.4%, 85.7%, 0%, 72.5%)
CIE-LABlab(7.30, 25.06, -35.38)
CIE-LCHlch(7.30, 43.36, 305.30°)
OKLaboklab(21.18% 0.0187 -0.1022)
OKLCHoklch(21.18% 0.104 280.4)
XYZxyz(1.5022, 0.8079, 5.8699)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A46 #3C460A
analogous
#0A1E46 #140A46 #320A46
triadic
#140A46 #46140A #0A4614
tetradic
#140A46 #460A1E #3C460A #0A4632
square
#140A46 #460A1E #3C460A #0A4632
split-complementary
#140A46 #46320A #1E460A
monochromatic
#08041B #08041B #140A46 #23127C #3319B1

Accessibility & contrast

On white

18.08
#140A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#140A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A46
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A46#FFFFFF#000000##FFFFFF
##140A461.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140a46;
/* rgb */ color: rgb(20, 10, 70);
/* oklch */ color: oklch(21.2% 0.104 280.4);
Tailwind
colors: {
  custom: {
    50: '#5a4b7a',
    500: '#140a46',
    950: '#000000',
  },
}
SCSS
$custom: #140a46;
$custom-light: #5a4b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#140a46",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 250,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21179,
    "c": 0.10394,
    "h": 280.4
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#140A46
secondary
#748329
accent
#F236D2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140A46

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

Preview Lab → · Contrast checker → · Palette generator →

#140A46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva