#140221#140221

#140221 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.3% C 0.068 H 308.5°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#140221
RGBrgb(20, 2, 33)
HSLhsl(275, 89%, 7%)
HSVhsv(275, 94%, 13%)
CMYKcmyk(39.4%, 93.9%, 0%, 87.1%)
CIE-LABlab(2.73, 12.19, -15.29)
CIE-LCHlch(2.73, 19.56, 308.57°)
OKLaboklab(15.33% 0.0423 -0.0531)
OKLCHoklch(15.33% 0.068 308.5)
XYZxyz(0.5847, 0.3020, 1.4660)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140221 #0F2102
analogous
#050221 #140221 #21021F
triadic
#140221 #211402 #022114
tetradic
#140221 #210502 #0F2102 #021F21
square
#140221 #210502 #0F2102 #021F21
split-complementary
#140221 #1F2102 #022105
monochromatic
#11021D #11021D #140221 #37055B #5A0994

Accessibility & contrast

On white

19.80
#140221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140221
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140221#FFFFFF#000000##FFFFFF
##1402211.0019.801.0619.80
#FFFFFF19.801.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000922
Deuteranopia (green-blind)
#000A20
Tritanopia (blue-blind)
#120710
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #140221;
/* rgb */ color: rgb(20, 2, 33);
/* oklch */ color: oklch(15.3% 0.068 308.5);
Tailwind
colors: {
  custom: {
    50: '#51475c',
    500: '#140221',
    950: '#000000',
  },
}
SCSS
$custom: #140221;
$custom-light: #51475c;
$custom-dark: #000000;
JSON
{
  "hex": "#140221",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 274.839,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.15332,
    "c": 0.06785,
    "h": 308.5
  },
  "luminance": 0.00302
}

Semantic roles & 50–950 ramp

primary
#140221
secondary
#396718
accent
#FF2983
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #140221

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

Preview Lab → · Contrast checker → · Palette generator →

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