#140F23#140F23

#140F23 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.6% C 0.040 H 293.6°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#140F23
RGBrgb(20, 15, 35)
HSLhsl(255, 40%, 10%)
HSVhsv(255, 57%, 14%)
CMYKcmyk(42.9%, 57.1%, 0%, 86.3%)
CIE-LABlab(5.53, 7.42, -12.56)
CIE-LCHlch(5.53, 14.59, 300.59°)
OKLaboklab(18.63% 0.0161 -0.0368)
OKLCHoklch(18.63% 0.04 293.6)
XYZxyz(0.7626, 0.6117, 1.6677)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F23 #1E230F
analogous
#0F1423 #140F23 #1E0F23
triadic
#140F23 #23140F #0F2314
tetradic
#140F23 #230F14 #1E230F #0F231E
square
#140F23 #230F14 #1E230F #0F231E
split-complementary
#140F23 #231E0F #14230F
monochromatic
#0C0915 #0C0915 #140F23 #2C214E #453479

Accessibility & contrast

On white

18.71
#140F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#140F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F23
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F23#FFFFFF#000000##FFFFFF
##140F231.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091224
Deuteranopia (green-blind)
#091223
Tritanopia (blue-blind)
#111317
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140f23;
/* rgb */ color: rgb(20, 15, 35);
/* oklch */ color: oklch(18.6% 0.040 293.6);
Tailwind
colors: {
  custom: {
    50: '#514e5e',
    500: '#140f23',
    950: '#000000',
  },
}
SCSS
$custom: #140f23;
$custom-light: #514e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#140f23",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 35
  },
  "hsl": {
    "h": 255,
    "s": 40,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18635,
    "c": 0.04014,
    "h": 293.6
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#140F23
secondary
#515B33
accent
#D058B2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #140F23

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

Preview Lab → · Contrast checker → · Palette generator →

#140F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva