#140318#140318

#140318 is a very dark, muted purple. Relative luminance 0.003; OKLCH L 14.8% C 0.053 H 320.4°. Best body text is #FFFFFF at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#140318
RGBrgb(20, 3, 24)
HSLhsl(289, 78%, 5%)
HSVhsv(289, 88%, 9%)
CMYKcmyk(16.7%, 87.5%, 0%, 90.6%)
CIE-LABlab(2.53, 9.01, -8.41)
CIE-LCHlch(2.53, 12.32, 316.98°)
OKLaboklab(14.77% 0.041 -0.0339)
OKLCHoklch(14.77% 0.053 320.4)
XYZxyz(0.4859, 0.2798, 0.8924)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140318 #071803
analogous
#090318 #140318 #180311
triadic
#140318 #181403 #031814
tetradic
#140318 #180903 #071803 #031118
square
#140318 #180903 #071803 #031118
split-complementary
#140318 #111803 #031809
monochromatic
#17031B #17031B #17031B #410A4E #6F1185

Accessibility & contrast

On white

19.89
#140318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140318
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140318#FFFFFF#000000##FFFFFF
##1403181.0019.891.0619.89
#FFFFFF19.891.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010819
Deuteranopia (green-blind)
#040A17
Tritanopia (blue-blind)
#14050B
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #140318;
/* rgb */ color: rgb(20, 3, 24);
/* oklch */ color: oklch(14.8% 0.053 320.4);
Tailwind
colors: {
  custom: {
    50: '#514854',
    500: '#140318',
    950: '#000000',
  },
}
SCSS
$custom: #140318;
$custom-light: #514854;
$custom-dark: #000000;
JSON
{
  "hex": "#140318",
  "rgb": {
    "r": 20,
    "g": 3,
    "b": 24
  },
  "hsl": {
    "h": 288.571,
    "s": 77.778,
    "l": 5.294
  },
  "oklch": {
    "l": 0.1477,
    "c": 0.05319,
    "h": 320.4
  },
  "luminance": 0.0028
}

Semantic roles & 50–950 ramp

primary
#140318
secondary
#275C1B
accent
#F43458
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020002
muted
#787778

Preview Lab

Preview with #140318

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

Preview Lab → · Contrast checker → · Palette generator →

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