#140A29#140A29

#140A29 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.060 H 294.4°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#140A29
RGBrgb(20, 10, 41)
HSLhsl(259, 61%, 10%)
HSVhsv(259, 76%, 16%)
CMYKcmyk(51.2%, 75.6%, 0%, 83.9%)
CIE-LABlab(4.75, 12.18, -18.34)
CIE-LCHlch(4.75, 22.02, 303.59°)
OKLaboklab(18.01% 0.025 -0.0551)
OKLCHoklch(18.01% 0.06 294.4)
XYZxyz(0.7972, 0.5259, 2.1569)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A29 #1F290A
analogous
#0A0F29 #140A29 #240A29
triadic
#140A29 #29140A #0A2914
tetradic
#140A29 #290A0F #1F290A #0A2924
square
#140A29 #290A0F #1F290A #0A2924
split-complementary
#140A29 #29240A #0F290A
monochromatic
#0C0619 #0C0619 #140A29 #2C165A #44228B

Accessibility & contrast

On white

19.00
#140A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#140A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A29
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A29#FFFFFF#000000##FFFFFF
##140A291.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102A
Deuteranopia (green-blind)
#001028
Tritanopia (blue-blind)
#0F1118
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140a29;
/* rgb */ color: rgb(20, 10, 41);
/* oklch */ color: oklch(18.0% 0.060 294.4);
Tailwind
colors: {
  custom: {
    50: '#524b63',
    500: '#140a29',
    950: '#000000',
  },
}
SCSS
$custom: #140a29;
$custom-light: #524b63;
$custom-dark: #000000;
JSON
{
  "hex": "#140a29",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 41
  },
  "hsl": {
    "h": 259.355,
    "s": 60.784,
    "l": 10
  },
  "oklch": {
    "l": 0.18012,
    "c": 0.06048,
    "h": 294.4
  },
  "luminance": 0.00526
}

Semantic roles & 50–950 ramp

primary
#140A29
secondary
#526629
accent
#E444B0
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #140A29

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

Preview Lab → · Contrast checker → · Palette generator →

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