#140A3A#140A3A

#140A3A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.087 H 284.8°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#140A3A
RGBrgb(20, 10, 58)
HSLhsl(253, 71%, 13%)
HSVhsv(253, 83%, 23%)
CMYKcmyk(65.5%, 82.8%, 0%, 77.3%)
CIE-LABlab(6.06, 20.04, -28.84)
CIE-LCHlch(6.06, 35.11, 304.79°)
OKLaboklab(19.78% 0.0221 -0.0839)
OKLCHoklch(19.78% 0.087 284.8)
XYZxyz(1.1605, 0.6712, 4.0706)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A3A #303A0A
analogous
#0A183A #140A3A #2C0A3A
triadic
#140A3A #3A140A #0A3A14
tetradic
#140A3A #3A0A18 #303A0A #0A3A2C
square
#140A3A #3A0A18 #303A0A #0A3A2C
split-complementary
#140A3A #3A2C0A #183A0A
monochromatic
#09051A #09051A #140A3A #26136E #381CA2

Accessibility & contrast

On white

18.52
#140A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A3A
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A3A#FFFFFF#000000##FFFFFF
##140A3A1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#031721
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140a3a;
/* rgb */ color: rgb(20, 10, 58);
/* oklch */ color: oklch(19.8% 0.087 284.8);
Tailwind
colors: {
  custom: {
    50: '#574a71',
    500: '#140a3a',
    950: '#000000',
  },
}
SCSS
$custom: #140a3a;
$custom-light: #574a71;
$custom-dark: #000000;
JSON
{
  "hex": "#140a3a",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 252.5,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19775,
    "c": 0.08677,
    "h": 284.8
  },
  "luminance": 0.00671
}

Semantic roles & 50–950 ramp

primary
#140A3A
secondary
#677728
accent
#ED3AC8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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