#140422#140422

#140422 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.0% C 0.063 H 305.8°. Best body text is #FFFFFF at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#140422
RGBrgb(20, 4, 34)
HSLhsl(272, 79%, 7%)
HSVhsv(272, 88%, 13%)
CMYKcmyk(41.2%, 88.2%, 0%, 86.7%)
CIE-LABlab(3.17, 11.75, -15.40)
CIE-LCHlch(3.17, 19.37, 307.35°)
OKLaboklab(15.97% 0.037 -0.0513)
OKLCHoklch(15.97% 0.063 305.8)
XYZxyz(0.6206, 0.3511, 1.5481)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140422 #122204
analogous
#050422 #140422 #220421
triadic
#140422 #221404 #042214
tetradic
#140422 #220504 #122204 #042122
square
#140422 #220504 #122204 #042122
split-complementary
#140422 #212204 #042205
monochromatic
#10031B #10031B #140422 #340A59 #541190

Accessibility & contrast

On white

19.62
#140422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#140422 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140422
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140422#FFFFFF#000000##FFFFFF
##1404221.0019.621.0719.62
#FFFFFF19.621.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B23
Deuteranopia (green-blind)
#000C21
Tritanopia (blue-blind)
#120A11
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #140422;
/* rgb */ color: rgb(20, 4, 34);
/* oklch */ color: oklch(16.0% 0.063 305.8);
Tailwind
colors: {
  custom: {
    50: '#51485d',
    500: '#140422',
    950: '#000000',
  },
}
SCSS
$custom: #140422;
$custom-light: #51485d;
$custom-dark: #000000;
JSON
{
  "hex": "#140422",
  "rgb": {
    "r": 20,
    "g": 4,
    "b": 34
  },
  "hsl": {
    "h": 272,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.15973,
    "c": 0.06325,
    "h": 305.8
  },
  "luminance": 0.00351
}

Semantic roles & 50–950 ramp

primary
#140422
secondary
#3F651D
accent
#F5328D
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #140422

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

Preview Lab → · Contrast checker → · Palette generator →

#140422 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva