#140223#140223

#140223 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.5% C 0.070 H 306.3°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#140223
RGBrgb(20, 2, 35)
HSLhsl(273, 89%, 7%)
HSVhsv(273, 94%, 14%)
CMYKcmyk(42.9%, 94.3%, 0%, 86.3%)
CIE-LABlab(2.83, 12.93, -16.70)
CIE-LCHlch(2.83, 21.12, 307.74°)
OKLaboklab(15.55% 0.0416 -0.0567)
OKLCHoklch(15.55% 0.07 306.3)
XYZxyz(0.6135, 0.3135, 1.6180)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140223 #112302
analogous
#030223 #140223 #230222
triadic
#140223 #231402 #022314
tetradic
#140223 #230302 #112302 #022223
square
#140223 #230302 #112302 #022223
split-complementary
#140223 #222302 #022303
monochromatic
#11021D #11021D #140223 #35055D #560997

Accessibility & contrast

On white

19.76
#140223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140223
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140223#FFFFFF#000000##FFFFFF
##1402231.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A24
Deuteranopia (green-blind)
#000A22
Tritanopia (blue-blind)
#110811
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #140223;
/* rgb */ color: rgb(20, 2, 35);
/* oklch */ color: oklch(15.5% 0.070 306.3);
Tailwind
colors: {
  custom: {
    50: '#51475e',
    500: '#140223',
    950: '#000000',
  },
}
SCSS
$custom: #140223;
$custom-light: #51475e;
$custom-dark: #000000;
JSON
{
  "hex": "#140223",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 272.727,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.15545,
    "c": 0.07031,
    "h": 306.3
  },
  "luminance": 0.00313
}

Semantic roles & 50–950 ramp

primary
#140223
secondary
#3D6918
accent
#FF298A
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #140223

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

Preview Lab → · Contrast checker → · Palette generator →

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