#140218#140218

#140218 is a very dark, muted purple. Relative luminance 0.003; OKLCH L 14.5% C 0.057 H 320.9°. Best body text is #FFFFFF at 19.97:1 contrast (WCAG AA passes).

Color values

HEX#140218
RGBrgb(20, 2, 24)
HSLhsl(289, 85%, 5%)
HSVhsv(289, 92%, 9%)
CMYKcmyk(16.7%, 91.7%, 0%, 90.6%)
CIE-LABlab(2.33, 9.41, -8.69)
CIE-LCHlch(2.33, 12.81, 317.26°)
OKLaboklab(14.46% 0.0442 -0.0359)
OKLCHoklch(14.46% 0.057 320.9)
XYZxyz(0.4750, 0.2581, 0.8888)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140218 #061802
analogous
#090218 #140218 #180211
triadic
#140218 #181402 #021814
tetradic
#140218 #180902 #061802 #021118
square
#140218 #180902 #061802 #021118
split-complementary
#140218 #111802 #021809
monochromatic
#18021C #18021C #18021C #430750 #720B89

Accessibility & contrast

On white

19.97
#140218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#140218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140218
19.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140218#FFFFFF#000000##FFFFFF
##1402181.0019.971.0519.97
#FFFFFF19.971.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000719
Deuteranopia (green-blind)
#030917
Tritanopia (blue-blind)
#14040B
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #140218;
/* rgb */ color: rgb(20, 2, 24);
/* oklch */ color: oklch(14.5% 0.057 320.9);
Tailwind
colors: {
  custom: {
    50: '#514754',
    500: '#140218',
    950: '#000000',
  },
}
SCSS
$custom: #140218;
$custom-light: #514754;
$custom-dark: #000000;
JSON
{
  "hex": "#140218",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 24
  },
  "hsl": {
    "h": 289.091,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.1446,
    "c": 0.05699,
    "h": 320.9
  },
  "luminance": 0.00258
}

Semantic roles & 50–950 ramp

primary
#140218
secondary
#255E18
accent
#FB2D52
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020002
muted
#787778

Preview Lab

Preview with #140218

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

Preview Lab → · Contrast checker → · Palette generator →

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