#0E040F#0E040F

#0E040F is a very dark, muted purple. Relative luminance 0.002; OKLCH L 13.3% C 0.033 H 324.3°. Best body text is #FFFFFF at 20.13:1 contrast (WCAG AA passes).

Color values

HEX#0E040F
RGBrgb(14, 4, 15)
HSLhsl(295, 58%, 4%)
HSVhsv(295, 73%, 6%)
CMYKcmyk(6.7%, 73.3%, 0%, 94.1%)
CIE-LABlab(1.94, 4.37, -3.48)
CIE-LCHlch(1.94, 5.58, 321.48°)
OKLaboklab(13.3% 0.0264 -0.019)
OKLCHoklch(13.3% 0.033 324.3)
XYZxyz(0.3107, 0.2147, 0.4769)
Luminance0.0022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E040F #050F04
analogous
#08040F #0E040F #0F040A
triadic
#0E040F #0F0E04 #040F0E
tetradic
#0E040F #0F0804 #050F04 #040A0F
square
#0E040F #0F0804 #050F04 #040A0F
split-complementary
#0E040F #0A0F04 #040F08
monochromatic
#170618 #170618 #170618 #3B113F #681E70

Accessibility & contrast

On white

20.13
#0E040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0E040F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E040F
20.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E040F#FFFFFF#000000##FFFFFF
##0E040F1.0020.131.0420.13
#FFFFFF20.131.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03060F
Deuteranopia (green-blind)
#05070F
Tritanopia (blue-blind)
#0E0508
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0e040f;
/* rgb */ color: rgb(14, 4, 15);
/* oklch */ color: oklch(13.3% 0.033 324.3);
Tailwind
colors: {
  custom: {
    50: '#4d484e',
    500: '#0e040f',
    950: '#000000',
  },
}
SCSS
$custom: #0e040f;
$custom-light: #4d484e;
$custom-dark: #000000;
JSON
{
  "hex": "#0e040f",
  "rgb": {
    "r": 14,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 294.545,
    "s": 57.895,
    "l": 3.725
  },
  "oklch": {
    "l": 0.133,
    "c": 0.03258,
    "h": 324.3
  },
  "luminance": 0.00215
}

Semantic roles & 50–950 ramp

primary
#0E040F
secondary
#254E21
accent
#E14755
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #0E040F

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

Preview Lab → · Contrast checker → · Palette generator →

#0E040F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva