#140A34#140A34

#140A34 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.078 H 287.6°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#140A34
RGBrgb(20, 10, 52)
HSLhsl(254, 68%, 12%)
HSVhsv(254, 81%, 20%)
CMYKcmyk(61.5%, 80.8%, 0%, 79.6%)
CIE-LABlab(5.54, 17.31, -25.29)
CIE-LCHlch(5.54, 30.65, 304.38°)
OKLaboklab(19.12% 0.0235 -0.0741)
OKLCHoklch(19.12% 0.078 287.6)
XYZxyz(1.0167, 0.6137, 3.3130)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A34 #2A340A
analogous
#0A1534 #140A34 #290A34
triadic
#140A34 #34140A #0A3414
tetradic
#140A34 #340A15 #2A340A #0A3429
square
#140A34 #340A15 #2A340A #0A3429
split-complementary
#140A34 #34290A #15340A
monochromatic
#0A051A #0A051A #140A34 #281467 #3B1E9B

Accessibility & contrast

On white

18.70
#140A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140A34
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A34#FFFFFF#000000##FFFFFF
##140A341.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001335
Deuteranopia (green-blind)
#001133
Tritanopia (blue-blind)
#08151D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140a34;
/* rgb */ color: rgb(20, 10, 52);
/* oklch */ color: oklch(19.1% 0.078 287.6);
Tailwind
colors: {
  custom: {
    50: '#554a6c',
    500: '#140a34',
    950: '#000000',
  },
}
SCSS
$custom: #140a34;
$custom-light: #554a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#140a34",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 254.286,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19117,
    "c": 0.07777,
    "h": 287.6
  },
  "luminance": 0.00614
}

Semantic roles & 50–950 ramp

primary
#140A34
secondary
#607128
accent
#EB3DC1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #140A34

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

Preview Lab → · Contrast checker → · Palette generator →

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