#140A44#140A44

#140A44 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.101 H 281.0°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#140A44
RGBrgb(20, 10, 68)
HSLhsl(250, 74%, 15%)
HSVhsv(250, 85%, 27%)
CMYKcmyk(70.6%, 85.3%, 0%, 73.3%)
CIE-LABlab(7.07, 24.27, -34.34)
CIE-LCHlch(7.07, 42.05, 305.25°)
OKLaboklab(20.94% 0.0193 -0.0993)
OKLCHoklch(20.94% 0.101 281)
XYZxyz(1.4401, 0.7831, 5.5430)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A44 #3A440A
analogous
#0A1D44 #140A44 #310A44
triadic
#140A44 #44140A #0A4414
tetradic
#140A44 #440A1D #3A440A #0A4431
square
#140A44 #440A1D #3A440A #0A4431
split-complementary
#140A44 #44310A #1D440A
monochromatic
#08041B #08041B #140A44 #241279 #331AAF

Accessibility & contrast

On white

18.16
#140A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#140A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A44
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A44#FFFFFF#000000##FFFFFF
##140A441.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001343
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140a44;
/* rgb */ color: rgb(20, 10, 68);
/* oklch */ color: oklch(20.9% 0.101 281.0);
Tailwind
colors: {
  custom: {
    50: '#5a4a79',
    500: '#140a44',
    950: '#000000',
  },
}
SCSS
$custom: #140a44;
$custom-light: #5a4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#140a44",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 250.345,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20938,
    "c": 0.10114,
    "h": 281
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#140A44
secondary
#728129
accent
#F137D1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140A44

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

Preview Lab → · Contrast checker → · Palette generator →

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