#0D040D#0D040D

#0D040D is a very dark, muted purple. Relative luminance 0.002; OKLCH L 13.0% C 0.029 H 327.1°. Best body text is #FFFFFF at 20.19:1 contrast (WCAG AA passes).

Color values

HEX#0D040D
RGBrgb(13, 4, 13)
HSLhsl(300, 53%, 3%)
HSVhsv(300, 69%, 5%)
CMYKcmyk(0%, 69.2%, 0%, 94.9%)
CIE-LABlab(1.82, 3.71, -2.65)
CIE-LCHlch(1.82, 4.56, 324.43°)
OKLaboklab(12.98% 0.0241 -0.0156)
OKLCHoklch(12.98% 0.029 327.1)
XYZxyz(0.2820, 0.2015, 0.4047)
Luminance0.0020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D040D #040D04
analogous
#08040D #0D040D #0D0408
triadic
#0D040D #0D0D04 #040D0D
tetradic
#0D040D #0D0804 #040D04 #04080D
square
#0D040D #0D0804 #040D04 #04080D
split-complementary
#0D040D #080D04 #040D08
monochromatic
#170717 #170717 #170717 #3C123C #6B216B

Accessibility & contrast

On white

20.19
#0D040D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D040D
20.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D040D#FFFFFF#000000##FFFFFF
##0D040D1.0020.191.0420.19
#FFFFFF20.191.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04060D
Deuteranopia (green-blind)
#05070D
Tritanopia (blue-blind)
#0E0507
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0d040d;
/* rgb */ color: rgb(13, 4, 13);
/* oklch */ color: oklch(13.0% 0.029 327.1);
Tailwind
colors: {
  custom: {
    50: '#4c484d',
    500: '#0d040d',
    950: '#000000',
  },
}
SCSS
$custom: #0d040d;
$custom-light: #4c484d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d040d",
  "rgb": {
    "r": 13,
    "g": 4,
    "b": 13
  },
  "hsl": {
    "h": 300,
    "s": 52.941,
    "l": 3.333
  },
  "oklch": {
    "l": 0.12984,
    "c": 0.02875,
    "h": 327.1
  },
  "luminance": 0.00201
}

Semantic roles & 50–950 ramp

primary
#0D040D
secondary
#224B22
accent
#DC4B4B
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #0D040D

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

Preview Lab → · Contrast checker → · Palette generator →

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