#0D001F#0D001F

#0D001F is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.2% C 0.071 H 300.2°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#0D001F
RGBrgb(13, 0, 31)
HSLhsl(265, 100%, 6%)
HSVhsv(265, 100%, 12%)
CMYKcmyk(58.1%, 100%, 0%, 87.8%)
CIE-LABlab(1.67, 9.74, -15.37)
CIE-LCHlch(1.67, 18.20, 302.37°)
OKLaboklab(13.23% 0.0355 -0.061)
OKLCHoklch(13.23% 0.071 300.2)
XYZxyz(0.4132, 0.1845, 1.3099)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D001F #121F00
analogous
#00021F #0D001F #1C001F
triadic
#0D001F #1F0D00 #001F0D
tetradic
#0D001F #1F0002 #121F00 #001F1C
square
#0D001F #1F0002 #121F00 #001F1C
split-complementary
#0D001F #1F1C00 #021F00
monochromatic
#0D001F #0D001F #0D001F #27005C #400099

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D001F#FFFFFF#000000##FFFFFF
##0D001F1.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)
#000620
Deuteranopia (green-blind)
#00061E
Tritanopia (blue-blind)
#09060D
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #0d001f;
/* rgb */ color: rgb(13, 0, 31);
/* oklch */ color: oklch(13.2% 0.071 300.2);
Tailwind
colors: {
  custom: {
    50: '#4c475a',
    500: '#0d001f',
    950: '#000000',
  },
}
SCSS
$custom: #0d001f;
$custom-light: #4c475a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d001f",
  "rgb": {
    "r": 13,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 265.161,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.13232,
    "c": 0.07055,
    "h": 300.2
  },
  "luminance": 0.00184
}

Semantic roles & 50–950 ramp

primary
#0D001F
secondary
#446812
accent
#FF29A5
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0D001F

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

Preview Lab → · Contrast checker → · Palette generator →

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