#0D030F#0D030F

#0D030F is a very dark, muted purple. Relative luminance 0.002; OKLCH L 12.7% C 0.036 H 321.9°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#0D030F
RGBrgb(13, 3, 15)
HSLhsl(290, 67%, 4%)
HSVhsv(290, 80%, 6%)
CMYKcmyk(13.3%, 80%, 0%, 94.1%)
CIE-LABlab(1.67, 4.46, -3.88)
CIE-LCHlch(1.67, 5.91, 318.98°)
OKLaboklab(12.73% 0.0285 -0.0223)
OKLCHoklch(12.73% 0.036 321.9)
XYZxyz(0.2848, 0.1852, 0.4726)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D030F #050F03
analogous
#07030F #0D030F #0F030B
triadic
#0D030F #0F0D03 #030F0D
tetradic
#0D030F #0F0703 #050F03 #030B0F
square
#0D030F #0F0703 #050F03 #030B0F
split-complementary
#0D030F #0B0F03 #030F07
monochromatic
#16051A #16051A #16051A #390D42 #651775

Accessibility & contrast

On white

20.25
#0D030F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D030F
20.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D030F#FFFFFF#000000##FFFFFF
##0D030F1.0020.251.0420.25
#FFFFFF20.251.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02050F
Deuteranopia (green-blind)
#04060F
Tritanopia (blue-blind)
#0D0407
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #0d030f;
/* rgb */ color: rgb(13, 3, 15);
/* oklch */ color: oklch(12.7% 0.036 321.9);
Tailwind
colors: {
  custom: {
    50: '#4c484e',
    500: '#0d030f',
    950: '#000000',
  },
}
SCSS
$custom: #0d030f;
$custom-light: #4c484e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d030f",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 15
  },
  "hsl": {
    "h": 290,
    "s": 66.667,
    "l": 3.529
  },
  "oklch": {
    "l": 0.12728,
    "c": 0.03622,
    "h": 321.9
  },
  "luminance": 0.00185
}

Semantic roles & 50–950 ramp

primary
#0D030F
secondary
#26511D
accent
#EA3E5B
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #0D030F

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

Preview Lab → · Contrast checker → · Palette generator →

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