#140A3F#140A3F

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

Color values

HEX#140A3F
RGBrgb(20, 10, 63)
HSLhsl(251, 73%, 14%)
HSVhsv(251, 84%, 25%)
CMYKcmyk(68.3%, 84.1%, 0%, 75.3%)
CIE-LABlab(6.55, 22.21, -31.65)
CIE-LCHlch(6.55, 38.67, 305.06°)
OKLaboklab(20.35% 0.0208 -0.0917)
OKLCHoklch(20.35% 0.094 282.8)
XYZxyz(1.2940, 0.7246, 4.7733)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A3F #353F0A
analogous
#0A1B3F #140A3F #2F0A3F
triadic
#140A3F #3F140A #0A3F14
tetradic
#140A3F #3F0A1B #353F0A #0A3F2F
square
#140A3F #3F0A1B #353F0A #0A3F2F
split-complementary
#140A3F #3F2F0A #1B3F0A
monochromatic
#08041A #08041A #140A3F #251274 #361BA9

Accessibility & contrast

On white

18.34
#140A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#140A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A3F
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A3F#FFFFFF#000000##FFFFFF
##140A3F1.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140a3f;
/* rgb */ color: rgb(20, 10, 63);
/* oklch */ color: oklch(20.3% 0.094 282.8);
Tailwind
colors: {
  custom: {
    50: '#584a75',
    500: '#140a3f',
    950: '#000000',
  },
}
SCSS
$custom: #140a3f;
$custom-light: #584a75;
$custom-dark: #000000;
JSON
{
  "hex": "#140a3f",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 251.321,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20347,
    "c": 0.09405,
    "h": 282.8
  },
  "luminance": 0.00725
}

Semantic roles & 50–950 ramp

primary
#140A3F
secondary
#6C7C29
accent
#EF38CD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #140A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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