#140D34#140D34

#140D34 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.7% C 0.073 H 285.8°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#140D34
RGBrgb(20, 13, 52)
HSLhsl(251, 60%, 13%)
HSVhsv(251, 75%, 20%)
CMYKcmyk(61.5%, 75%, 0%, 79.6%)
CIE-LABlab(6.18, 15.82, -24.27)
CIE-LCHlch(6.18, 28.97, 303.10°)
OKLaboklab(19.68% 0.0199 -0.0704)
OKLCHoklch(19.68% 0.073 285.8)
XYZxyz(1.0521, 0.6844, 3.3248)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D34 #2D340D
analogous
#0D1934 #140D34 #270D34
triadic
#140D34 #34140D #0D3414
tetradic
#140D34 #340D19 #2D340D #0D3427
square
#140D34 #340D19 #2D340D #0D3427
split-complementary
#140D34 #34270D #19340D
monochromatic
#090618 #090618 #140D34 #271965 #3A2596

Accessibility & contrast

On white

18.47
#140D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#140D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140D34
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D34#FFFFFF#000000##FFFFFF
##140D341.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#08161E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #140d34;
/* rgb */ color: rgb(20, 13, 52);
/* oklch */ color: oklch(19.7% 0.073 285.8);
Tailwind
colors: {
  custom: {
    50: '#554c6c',
    500: '#140d34',
    950: '#000000',
  },
}
SCSS
$custom: #140d34;
$custom-light: #554c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#140d34",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 52
  },
  "hsl": {
    "h": 250.769,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19685,
    "c": 0.07313,
    "h": 285.8
  },
  "luminance": 0.00685
}

Semantic roles & 50–950 ramp

primary
#140D34
secondary
#646F2D
accent
#E345C7
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #140D34

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

Preview Lab → · Contrast checker → · Palette generator →

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