#0D040E#0D040E

#0D040E is a very dark, muted purple. Relative luminance 0.002; OKLCH L 13.1% C 0.030 H 324.0°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#0D040E
RGBrgb(13, 4, 14)
HSLhsl(294, 56%, 4%)
HSVhsv(294, 71%, 5%)
CMYKcmyk(7.1%, 71.4%, 0%, 94.5%)
CIE-LABlab(1.84, 3.88, -3.11)
CIE-LCHlch(1.84, 4.97, 321.29°)
OKLaboklab(13.05% 0.0244 -0.0178)
OKLCHoklch(13.05% 0.03 324)
XYZxyz(0.2887, 0.2041, 0.4396)
Luminance0.0020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D040E #050E04
analogous
#08040E #0D040E #0E040A
triadic
#0D040E #0E0D04 #040E0D
tetradic
#0D040E #0E0804 #050E04 #040A0E
square
#0D040E #0E0804 #050E04 #040A0E
split-complementary
#0D040E #0A0E04 #040E08
monochromatic
#160718 #160718 #160718 #39123E #651F6D

Accessibility & contrast

On white

20.18
#0D040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D040E
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D040E#FFFFFF#000000##FFFFFF
##0D040E1.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d040e;
/* rgb */ color: rgb(13, 4, 14);
/* oklch */ color: oklch(13.1% 0.030 324.0);
Tailwind
colors: {
  custom: {
    50: '#4c484d',
    500: '#0d040e',
    950: '#000000',
  },
}
SCSS
$custom: #0d040e;
$custom-light: #4c484d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d040e",
  "rgb": {
    "r": 13,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 294,
    "s": 55.556,
    "l": 3.529
  },
  "oklch": {
    "l": 0.13053,
    "c": 0.03022,
    "h": 324
  },
  "luminance": 0.00204
}

Semantic roles & 50–950 ramp

primary
#0D040E
secondary
#264C22
accent
#DF4958
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #0D040E

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

Preview Lab → · Contrast checker → · Palette generator →

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