#140220#140220

#140220 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.2% C 0.067 H 309.7°. Best body text is #FFFFFF at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#140220
RGBrgb(20, 2, 32)
HSLhsl(276, 88%, 7%)
HSVhsv(276, 94%, 13%)
CMYKcmyk(37.5%, 93.8%, 0%, 87.5%)
CIE-LABlab(2.68, 11.85, -14.58)
CIE-LCHlch(2.68, 18.78, 309.10°)
OKLaboklab(15.23% 0.0426 -0.0512)
OKLCHoklch(15.23% 0.067 309.7)
XYZxyz(0.5709, 0.2964, 1.3934)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140220 #0E2002
analogous
#050220 #140220 #20021D
triadic
#140220 #201402 #022014
tetradic
#140220 #200502 #0E2002 #021D20
square
#140220 #200502 #0E2002 #021D20
split-complementary
#140220 #1D2002 #022005
monochromatic
#12021D #12021D #140220 #38065A #5C0993

Accessibility & contrast

On white

19.83
#140220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#140220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140220
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140220#FFFFFF#000000##FFFFFF
##1402201.0019.831.0619.83
#FFFFFF19.831.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000921
Deuteranopia (green-blind)
#000A1F
Tritanopia (blue-blind)
#12070F
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #140220;
/* rgb */ color: rgb(20, 2, 32);
/* oklch */ color: oklch(15.2% 0.067 309.7);
Tailwind
colors: {
  custom: {
    50: '#51475b',
    500: '#140220',
    950: '#000000',
  },
}
SCSS
$custom: #140220;
$custom-light: #51475b;
$custom-dark: #000000;
JSON
{
  "hex": "#140220",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 32
  },
  "hsl": {
    "h": 276,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.15228,
    "c": 0.06662,
    "h": 309.7
  },
  "luminance": 0.00296
}

Semantic roles & 50–950 ramp

primary
#140220
secondary
#376618
accent
#FE297F
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #140220

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

Preview Lab → · Contrast checker → · Palette generator →

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