#140A32#140A32

#140A32 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.075 H 288.6°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#140A32
RGBrgb(20, 10, 50)
HSLhsl(255, 67%, 12%)
HSVhsv(255, 80%, 20%)
CMYKcmyk(60%, 80%, 0%, 80.4%)
CIE-LABlab(5.38, 16.38, -24.07)
CIE-LCHlch(5.38, 29.12, 304.23°)
OKLaboklab(18.91% 0.0239 -0.0708)
OKLCHoklch(18.91% 0.075 288.6)
XYZxyz(0.9726, 0.5961, 3.0808)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A32 #28320A
analogous
#0A1432 #140A32 #280A32
triadic
#140A32 #32140A #0A3214
tetradic
#140A32 #320A14 #28320A #0A3228
square
#140A32 #320A14 #28320A #0A3228
split-complementary
#140A32 #32280A #14320A
monochromatic
#0A051A #0A051A #140A32 #281465 #3D1E98

Accessibility & contrast

On white

18.76
#140A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140A32
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A32#FFFFFF#000000##FFFFFF
##140A321.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140a32;
/* rgb */ color: rgb(20, 10, 50);
/* oklch */ color: oklch(18.9% 0.075 288.6);
Tailwind
colors: {
  custom: {
    50: '#544a6a',
    500: '#140a32',
    950: '#000000',
  },
}
SCSS
$custom: #140a32;
$custom-light: #544a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#140a32",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 50
  },
  "hsl": {
    "h": 255,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18906,
    "c": 0.07472,
    "h": 288.6
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#140A32
secondary
#5E6F28
accent
#EA3EBF
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140A32

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

Preview Lab → · Contrast checker → · Palette generator →

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