#140A45#140A45

#140A45 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.103 H 280.7°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#140A45
RGBrgb(20, 10, 69)
HSLhsl(250, 75%, 15%)
HSVhsv(250, 86%, 27%)
CMYKcmyk(71%, 85.5%, 0%, 72.9%)
CIE-LABlab(7.18, 24.67, -34.87)
CIE-LCHlch(7.18, 42.71, 305.28°)
OKLaboklab(21.06% 0.019 -0.1008)
OKLCHoklch(21.06% 0.103 280.7)
XYZxyz(1.4709, 0.7954, 5.7051)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A45 #3B450A
analogous
#0A1E45 #140A45 #310A45
triadic
#140A45 #45140A #0A4514
tetradic
#140A45 #450A1E #3B450A #0A4531
square
#140A45 #450A1E #3B450A #0A4531
split-complementary
#140A45 #45310A #1E450A
monochromatic
#08041B #08041B #140A45 #23127A #3319B0

Accessibility & contrast

On white

18.12
#140A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140A45
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A45#FFFFFF#000000##FFFFFF
##140A451.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001847
Deuteranopia (green-blind)
#001444
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140a45;
/* rgb */ color: rgb(20, 10, 69);
/* oklch */ color: oklch(21.1% 0.103 280.7);
Tailwind
colors: {
  custom: {
    50: '#5a4a79',
    500: '#140a45',
    950: '#000000',
  },
}
SCSS
$custom: #140a45;
$custom-light: #5a4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#140a45",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 250.169,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21058,
    "c": 0.10254,
    "h": 280.7
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#140A45
secondary
#738229
accent
#F136D2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140A45

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

Preview Lab → · Contrast checker → · Palette generator →

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