#140B34#140B34

#140B34 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.076 H 287.0°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#140B34
RGBrgb(20, 11, 52)
HSLhsl(253, 65%, 12%)
HSVhsv(253, 79%, 20%)
CMYKcmyk(61.5%, 78.8%, 0%, 79.6%)
CIE-LABlab(5.74, 16.84, -24.97)
CIE-LCHlch(5.74, 30.12, 304.00°)
OKLaboklab(19.3% 0.0223 -0.0729)
OKLCHoklch(19.3% 0.076 287)
XYZxyz(1.0278, 0.6359, 3.3167)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B34 #2B340B
analogous
#0B1634 #140B34 #290B34
triadic
#140B34 #34140B #0B3414
tetradic
#140B34 #340B16 #2B340B #0B3429
square
#140B34 #340B16 #2B340B #0B3429
split-complementary
#140B34 #34290B #16340B
monochromatic
#0A0519 #0A0519 #140B34 #271667 #3B2099

Accessibility & contrast

On white

18.63
#140B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140B34
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B34#FFFFFF#000000##FFFFFF
##140B341.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#001233
Tritanopia (blue-blind)
#08151E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140b34;
/* rgb */ color: rgb(20, 11, 52);
/* oklch */ color: oklch(19.3% 0.076 287.0);
Tailwind
colors: {
  custom: {
    50: '#554b6c',
    500: '#140b34',
    950: '#000000',
  },
}
SCSS
$custom: #140b34;
$custom-light: #554b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#140b34",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 52
  },
  "hsl": {
    "h": 253.171,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19299,
    "c": 0.07627,
    "h": 287
  },
  "luminance": 0.00636
}

Semantic roles & 50–950 ramp

primary
#140B34
secondary
#61712A
accent
#E840C3
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #140B34

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

Preview Lab → · Contrast checker → · Palette generator →

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