#140B35#140B35

#140B35 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.078 H 286.5°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#140B35
RGBrgb(20, 11, 53)
HSLhsl(253, 66%, 13%)
HSVhsv(253, 79%, 21%)
CMYKcmyk(62.3%, 79.2%, 0%, 79.2%)
CIE-LABlab(5.83, 17.30, -25.57)
CIE-LCHlch(5.83, 30.87, 304.07°)
OKLaboklab(19.4% 0.0221 -0.0746)
OKLCHoklch(19.4% 0.078 286.5)
XYZxyz(1.0506, 0.6451, 3.4366)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B35 #2C350B
analogous
#0B1735 #140B35 #290B35
triadic
#140B35 #35140B #0B3514
tetradic
#140B35 #350B17 #2C350B #0B3529
square
#140B35 #350B17 #2C350B #0B3529
split-complementary
#140B35 #35290B #17350B
monochromatic
#0A0519 #0A0519 #140B35 #271668 #3A209A

Accessibility & contrast

On white

18.60
#140B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140B35
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B35#FFFFFF#000000##FFFFFF
##140B351.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#001234
Tritanopia (blue-blind)
#07161E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140b35;
/* rgb */ color: rgb(20, 11, 53);
/* oklch */ color: oklch(19.4% 0.078 286.5);
Tailwind
colors: {
  custom: {
    50: '#554b6d',
    500: '#140b35',
    950: '#000000',
  },
}
SCSS
$custom: #140b35;
$custom-light: #554b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#140b35",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 252.857,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19404,
    "c": 0.07782,
    "h": 286.5
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#140B35
secondary
#62722A
accent
#E93FC4
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #140B35

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

Preview Lab → · Contrast checker → · Palette generator →

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