#140A43#140A43

#140A43 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.100 H 281.4°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#140A43
RGBrgb(20, 10, 67)
HSLhsl(251, 74%, 15%)
HSVhsv(251, 85%, 26%)
CMYKcmyk(70.1%, 85.1%, 0%, 73.7%)
CIE-LABlab(6.96, 23.87, -33.81)
CIE-LCHlch(6.96, 41.39, 305.22°)
OKLaboklab(20.82% 0.0196 -0.0978)
OKLCHoklch(20.82% 0.1 281.4)
XYZxyz(1.4098, 0.7709, 5.3836)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A43 #39430A
analogous
#0A1D43 #140A43 #300A43
triadic
#140A43 #43140A #0A4314
tetradic
#140A43 #430A1D #39430A #0A4330
square
#140A43 #430A1D #39430A #0A4330
split-complementary
#140A43 #43300A #1D430A
monochromatic
#08041B #08041B #140A43 #241278 #341AAE

Accessibility & contrast

On white

18.19
#140A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#140A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A43
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A43#FFFFFF#000000##FFFFFF
##140A431.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001342
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140a43;
/* rgb */ color: rgb(20, 10, 67);
/* oklch */ color: oklch(20.8% 0.100 281.4);
Tailwind
colors: {
  custom: {
    50: '#594a78',
    500: '#140a43',
    950: '#000000',
  },
}
SCSS
$custom: #140a43;
$custom-light: #594a78;
$custom-dark: #000000;
JSON
{
  "hex": "#140a43",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 250.526,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20819,
    "c": 0.09974,
    "h": 281.4
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#140A43
secondary
#718029
accent
#F137D0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140A43

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

Preview Lab → · Contrast checker → · Palette generator →

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