#140F25#140F25

#140F25 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.8% C 0.044 H 292.1°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#140F25
RGBrgb(20, 15, 37)
HSLhsl(254, 42%, 10%)
HSVhsv(254, 59%, 15%)
CMYKcmyk(45.9%, 59.5%, 0%, 85.5%)
CIE-LABlab(5.64, 8.20, -13.91)
CIE-LCHlch(5.64, 16.15, 300.52°)
OKLaboklab(18.79% 0.0165 -0.0406)
OKLCHoklch(18.79% 0.044 292.1)
XYZxyz(0.7932, 0.6239, 1.8285)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F25 #20250F
analogous
#0F1525 #140F25 #1F0F25
triadic
#140F25 #25140F #0F2514
tetradic
#140F25 #250F15 #20250F #0F251F
square
#140F25 #250F15 #20250F #0F251F
split-complementary
#140F25 #251F0F #15250F
monochromatic
#0C0916 #0C0916 #140F25 #2C2151 #43327C

Accessibility & contrast

On white

18.67
#140F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F25
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F25#FFFFFF#000000##FFFFFF
##140F251.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081326
Deuteranopia (green-blind)
#081224
Tritanopia (blue-blind)
#101318
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140f25;
/* rgb */ color: rgb(20, 15, 37);
/* oklch */ color: oklch(18.8% 0.044 292.1);
Tailwind
colors: {
  custom: {
    50: '#524d5f',
    500: '#140f25',
    950: '#000000',
  },
}
SCSS
$custom: #140f25;
$custom-light: #524d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#140f25",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 37
  },
  "hsl": {
    "h": 253.636,
    "s": 42.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18786,
    "c": 0.0438,
    "h": 292.1
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#140F25
secondary
#545D33
accent
#D256B6
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #140F25

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

Preview Lab → · Contrast checker → · Palette generator →

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