#140D30#140D30

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

Color values

HEX#140D30
RGBrgb(20, 13, 48)
HSLhsl(252, 57%, 12%)
HSVhsv(252, 73%, 19%)
CMYKcmyk(58.3%, 72.9%, 0%, 81.2%)
CIE-LABlab(5.87, 14.03, -21.82)
CIE-LCHlch(5.87, 25.94, 302.74°)
OKLaboklab(19.29% 0.0202 -0.0635)
OKLCHoklch(19.29% 0.067 287.7)
XYZxyz(0.9658, 0.6499, 2.8703)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D30 #29300D
analogous
#0D1830 #140D30 #260D30
triadic
#140D30 #30140D #0D3014
tetradic
#140D30 #300D18 #29300D #0D3026
square
#140D30 #300D18 #29300D #0D3026
split-complementary
#140D30 #30260D #18300D
monochromatic
#0A0718 #0A0718 #140D30 #281A60 #3C2790

Accessibility & contrast

On white

18.58
#140D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140D30
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D30#FFFFFF#000000##FFFFFF
##140D301.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#00122F
Tritanopia (blue-blind)
#0B151C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140d30;
/* rgb */ color: rgb(20, 13, 48);
/* oklch */ color: oklch(19.3% 0.067 287.7);
Tailwind
colors: {
  custom: {
    50: '#544c68',
    500: '#140d30',
    950: '#000000',
  },
}
SCSS
$custom: #140d30;
$custom-light: #544c68;
$custom-dark: #000000;
JSON
{
  "hex": "#140d30",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 48
  },
  "hsl": {
    "h": 252,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19292,
    "c": 0.06664,
    "h": 287.7
  },
  "luminance": 0.0065
}

Semantic roles & 50–950 ramp

primary
#140D30
secondary
#5F6B2E
accent
#E147C2
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140D30

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

Preview Lab → · Contrast checker → · Palette generator →

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