#140A3D#140A3D

#140A3D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.091 H 283.5°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#140A3D
RGBrgb(20, 10, 61)
HSLhsl(252, 72%, 14%)
HSVhsv(252, 84%, 24%)
CMYKcmyk(67.2%, 83.6%, 0%, 76.1%)
CIE-LABlab(6.35, 21.36, -30.54)
CIE-LCHlch(6.35, 37.27, 304.96°)
OKLaboklab(20.12% 0.0213 -0.0886)
OKLCHoklch(20.12% 0.091 283.5)
XYZxyz(1.2391, 0.7026, 4.4843)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A3D #333D0A
analogous
#0A1A3D #140A3D #2E0A3D
triadic
#140A3D #3D140A #0A3D14
tetradic
#140A3D #3D0A1A #333D0A #0A3D2E
square
#140A3D #3D0A1A #333D0A #0A3D2E
split-complementary
#140A3D #3D2E0A #1A3D0A
monochromatic
#09041A #09041A #140A3D #251372 #361BA6

Accessibility & contrast

On white

18.41
#140A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#140A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A3D
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A3D#FFFFFF#000000##FFFFFF
##140A3D1.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00123C
Tritanopia (blue-blind)
#011822
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #140a3d;
/* rgb */ color: rgb(20, 10, 61);
/* oklch */ color: oklch(20.1% 0.091 283.5);
Tailwind
colors: {
  custom: {
    50: '#584a73',
    500: '#140a3d',
    950: '#000000',
  },
}
SCSS
$custom: #140a3d;
$custom-light: #584a73;
$custom-dark: #000000;
JSON
{
  "hex": "#140a3d",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 251.765,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20116,
    "c": 0.09115,
    "h": 283.5
  },
  "luminance": 0.00703
}

Semantic roles & 50–950 ramp

primary
#140A3D
secondary
#6A7A28
accent
#EF39CB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #140A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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