#140B41#140B41

#140B41 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.096 H 281.7°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#140B41
RGBrgb(20, 11, 65)
HSLhsl(250, 71%, 15%)
HSVhsv(250, 83%, 25%)
CMYKcmyk(69.2%, 83.1%, 0%, 74.5%)
CIE-LABlab(6.95, 22.52, -32.41)
CIE-LCHlch(6.95, 39.47, 304.79°)
OKLaboklab(20.74% 0.0194 -0.0937)
OKLCHoklch(20.74% 0.096 281.7)
XYZxyz(1.3620, 0.7696, 5.0768)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B41 #38410B
analogous
#0B1D41 #140B41 #2F0B41
triadic
#140B41 #41140B #0B4114
tetradic
#140B41 #410B1D #38410B #0B412F
square
#140B41 #410B1D #38410B #0B412F
split-complementary
#140B41 #412F0B #1D410B
monochromatic
#08041A #08041A #140B41 #241475 #341DAA

Accessibility & contrast

On white

18.20
#140B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140B41
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B41#FFFFFF#000000##FFFFFF
##140B411.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140b41;
/* rgb */ color: rgb(20, 11, 65);
/* oklch */ color: oklch(20.7% 0.096 281.7);
Tailwind
colors: {
  custom: {
    50: '#594b76',
    500: '#140b41',
    950: '#000000',
  },
}
SCSS
$custom: #140b41;
$custom-light: #594b76;
$custom-dark: #000000;
JSON
{
  "hex": "#140b41",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 250,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20739,
    "c": 0.0957,
    "h": 281.7
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#140B41
secondary
#707E2A
accent
#EE3AD0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #140B41

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

Preview Lab → · Contrast checker → · Palette generator →

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