#140222#140222

#140222 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.4% C 0.069 H 307.4°. Best body text is #FFFFFF at 19.78:1 contrast (WCAG AA passes).

Color values

HEX#140222
RGBrgb(20, 2, 34)
HSLhsl(274, 89%, 7%)
HSVhsv(274, 94%, 13%)
CMYKcmyk(41.2%, 94.1%, 0%, 86.7%)
CIE-LABlab(2.78, 12.56, -16.00)
CIE-LCHlch(2.78, 20.34, 308.13°)
OKLaboklab(15.44% 0.042 -0.0549)
OKLCHoklch(15.44% 0.069 307.4)
XYZxyz(0.5989, 0.3076, 1.5409)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140222 #102202
analogous
#040222 #140222 #220220
triadic
#140222 #221402 #022214
tetradic
#140222 #220402 #102202 #022022
square
#140222 #220402 #102202 #022022
split-complementary
#140222 #202202 #022204
monochromatic
#11021D #11021D #140222 #36055C #580996

Accessibility & contrast

On white

19.78
#140222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140222
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140222#FFFFFF#000000##FFFFFF
##1402221.0019.781.0619.78
#FFFFFF19.781.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000923
Deuteranopia (green-blind)
#000A21
Tritanopia (blue-blind)
#120810
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #140222;
/* rgb */ color: rgb(20, 2, 34);
/* oklch */ color: oklch(15.4% 0.069 307.4);
Tailwind
colors: {
  custom: {
    50: '#51475d',
    500: '#140222',
    950: '#000000',
  },
}
SCSS
$custom: #140222;
$custom-light: #51475d;
$custom-dark: #000000;
JSON
{
  "hex": "#140222",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 34
  },
  "hsl": {
    "h": 273.75,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.15438,
    "c": 0.06907,
    "h": 307.4
  },
  "luminance": 0.00308
}

Semantic roles & 50–950 ramp

primary
#140222
secondary
#3B6818
accent
#FF2987
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #140222

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

Preview Lab → · Contrast checker → · Palette generator →

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