#140B32#140B32

#140B32 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.073 H 288.0°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#140B32
RGBrgb(20, 11, 50)
HSLhsl(254, 64%, 12%)
HSVhsv(254, 78%, 20%)
CMYKcmyk(60%, 78%, 0%, 80.4%)
CIE-LABlab(5.59, 15.92, -23.75)
CIE-LCHlch(5.59, 28.60, 303.84°)
OKLaboklab(19.09% 0.0226 -0.0696)
OKLCHoklch(19.09% 0.073 288)
XYZxyz(0.9837, 0.6183, 3.0845)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B32 #29320B
analogous
#0B1632 #140B32 #280B32
triadic
#140B32 #32140B #0B3214
tetradic
#140B32 #320B16 #29320B #0B3228
square
#140B32 #320B16 #29320B #0B3228
split-complementary
#140B32 #32280B #16320B
monochromatic
#0A0619 #0A0619 #140B32 #281664 #3C2196

Accessibility & contrast

On white

18.69
#140B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#140B32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140B32
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B32#FFFFFF#000000##FFFFFF
##140B321.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#09151D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140b32;
/* rgb */ color: rgb(20, 11, 50);
/* oklch */ color: oklch(19.1% 0.073 288.0);
Tailwind
colors: {
  custom: {
    50: '#544b6a',
    500: '#140b32',
    950: '#000000',
  },
}
SCSS
$custom: #140b32;
$custom-light: #544b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#140b32",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 50
  },
  "hsl": {
    "h": 253.846,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19092,
    "c": 0.07315,
    "h": 288
  },
  "luminance": 0.00618
}

Semantic roles & 50–950 ramp

primary
#140B32
secondary
#5F6F2A
accent
#E741C1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140B32

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

Preview Lab → · Contrast checker → · Palette generator →

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