#0B040D#0B040D

#0B040D is a very dark, muted purple. Relative luminance 0.002; OKLCH L 12.6% C 0.027 H 319.9°. Best body text is #FFFFFF at 20.24:1 contrast (WCAG AA passes).

Color values

HEX#0B040D
RGBrgb(11, 4, 13)
HSLhsl(287, 53%, 3%)
HSVhsv(287, 69%, 5%)
CMYKcmyk(15.4%, 69.2%, 0%, 94.9%)
CIE-LABlab(1.69, 3.13, -2.86)
CIE-LCHlch(1.69, 4.24, 317.59°)
OKLaboklab(12.64% 0.0206 -0.0173)
OKLCHoklch(12.64% 0.027 319.9)
XYZxyz(0.2541, 0.1870, 0.4034)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B040D #060D04
analogous
#06040D #0B040D #0D040A
triadic
#0B040D #0D0B04 #040D0B
tetradic
#0B040D #0D0604 #060D04 #040A0D
square
#0B040D #0D0604 #060D04 #040A0D
split-complementary
#0B040D #0A0D04 #040D06
monochromatic
#140717 #140717 #140717 #33123C #5A216B

Accessibility & contrast

On white

20.24
#0B040D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B040D
20.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B040D#FFFFFF#000000##FFFFFF
##0B040D1.0020.241.0420.24
#FFFFFF20.241.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03060D
Deuteranopia (green-blind)
#04060D
Tritanopia (blue-blind)
#0B0507
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #0b040d;
/* rgb */ color: rgb(11, 4, 13);
/* oklch */ color: oklch(12.6% 0.027 319.9);
Tailwind
colors: {
  custom: {
    50: '#4b484d',
    500: '#0b040d',
    950: '#000000',
  },
}
SCSS
$custom: #0b040d;
$custom-light: #4b484d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b040d",
  "rgb": {
    "r": 11,
    "g": 4,
    "b": 13
  },
  "hsl": {
    "h": 286.667,
    "s": 52.941,
    "l": 3.333
  },
  "oklch": {
    "l": 0.12638,
    "c": 0.02693,
    "h": 319.9
  },
  "luminance": 0.00187
}

Semantic roles & 50–950 ramp

primary
#0B040D
secondary
#2B4B22
accent
#DC4B6C
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #0B040D

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

Preview Lab → · Contrast checker → · Palette generator →

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