#0F040F#0F040F

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

Color values

HEX#0F040F
RGBrgb(15, 4, 15)
HSLhsl(300, 58%, 4%)
HSVhsv(300, 73%, 6%)
CMYKcmyk(0%, 73.3%, 0%, 94.1%)
CIE-LABlab(2.01, 4.70, -3.36)
CIE-LCHlch(2.01, 5.78, 324.43°)
OKLaboklab(13.48% 0.0282 -0.0181)
OKLCHoklch(13.48% 0.033 327.2)
XYZxyz(0.3266, 0.2229, 0.4777)
Luminance0.0022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F040F #040F04
analogous
#09040F #0F040F #0F0409
triadic
#0F040F #0F0F04 #040F0F
tetradic
#0F040F #0F0904 #040F04 #04090F
square
#0F040F #0F0904 #040F04 #04090F
split-complementary
#0F040F #090F04 #040F09
monochromatic
#180618 #180618 #180618 #3F113F #701E70

Accessibility & contrast

On white

20.10
#0F040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F040F
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F040F#FFFFFF#000000##FFFFFF
##0F040F1.0020.101.0420.10
#FFFFFF20.101.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03070F
Deuteranopia (green-blind)
#06080F
Tritanopia (blue-blind)
#100508
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0f040f;
/* rgb */ color: rgb(15, 4, 15);
/* oklch */ color: oklch(13.5% 0.033 327.2);
Tailwind
colors: {
  custom: {
    50: '#4e484e',
    500: '#0f040f',
    950: '#000000',
  },
}
SCSS
$custom: #0f040f;
$custom-light: #4e484e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f040f",
  "rgb": {
    "r": 15,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 300,
    "s": 57.895,
    "l": 3.725
  },
  "oklch": {
    "l": 0.1348,
    "c": 0.03349,
    "h": 327.2
  },
  "luminance": 0.00223
}

Semantic roles & 50–950 ramp

primary
#0F040F
secondary
#214E21
accent
#E14747
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #0F040F

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

Preview Lab → · Contrast checker → · Palette generator →

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