#140A2B#140A2B

#140A2B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.064 H 292.9°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#140A2B
RGBrgb(20, 10, 43)
HSLhsl(258, 62%, 10%)
HSVhsv(258, 77%, 17%)
CMYKcmyk(53.5%, 76.7%, 0%, 83.1%)
CIE-LABlab(4.88, 13.09, -19.65)
CIE-LCHlch(4.88, 23.61, 303.67°)
OKLaboklab(18.2% 0.0248 -0.0587)
OKLCHoklch(18.2% 0.064 292.9)
XYZxyz(0.8330, 0.5402, 2.3454)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A2B #212B0A
analogous
#0A102B #140A2B #240A2B
triadic
#140A2B #2B140A #0A2B14
tetradic
#140A2B #2B0A10 #212B0A #0A2B24
square
#140A2B #2B0A10 #212B0A #0A2B24
split-complementary
#140A2B #2B240A #102B0A
monochromatic
#0C0619 #0C0619 #140A2B #2B165D #42218E

Accessibility & contrast

On white

18.95
#140A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#140A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A2B
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A2B#FFFFFF#000000##FFFFFF
##140A2B1.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#00102A
Tritanopia (blue-blind)
#0E1219
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140a2b;
/* rgb */ color: rgb(20, 10, 43);
/* oklch */ color: oklch(18.2% 0.064 292.9);
Tailwind
colors: {
  custom: {
    50: '#534b64',
    500: '#140a2b',
    950: '#000000',
  },
}
SCSS
$custom: #140a2b;
$custom-light: #534b64;
$custom-dark: #000000;
JSON
{
  "hex": "#140a2b",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 258.182,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18202,
    "c": 0.06371,
    "h": 292.9
  },
  "luminance": 0.0054
}

Semantic roles & 50–950 ramp

primary
#140A2B
secondary
#556829
accent
#E542B4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #140A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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