#0D001A#0D001A

#0D001A is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 12.6% C 0.065 H 306.3°. Best body text is #FFFFFF at 20.35:1 contrast (WCAG AA passes).

Color values

HEX#0D001A
RGBrgb(13, 0, 26)
HSLhsl(270, 100%, 5%)
HSVhsv(270, 100%, 10%)
CMYKcmyk(50%, 100%, 0%, 89.8%)
CIE-LABlab(1.45, 8.20, -11.65)
CIE-LCHlch(1.45, 14.25, 305.13°)
OKLaboklab(12.59% 0.0385 -0.0523)
OKLCHoklch(12.59% 0.065 306.3)
XYZxyz(0.3524, 0.1602, 0.9894)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D001A #0D1A00
analogous
#00001A #0D001A #1A001A
triadic
#0D001A #1A0D00 #001A0D
tetradic
#0D001A #1A0000 #0D1A00 #001A1A
square
#0D001A #1A0000 #0D1A00 #001A1A
split-complementary
#0D001A #1A1A00 #001A00
monochromatic
#0F001F #0F001F #0F001F #2C0057 #4A0094

Accessibility & contrast

On white

20.35
#0D001A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#0D001A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D001A
20.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D001A#FFFFFF#000000##FFFFFF
##0D001A1.0020.351.0320.35
#FFFFFF20.351.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00051B
Deuteranopia (green-blind)
#000519
Tritanopia (blue-blind)
#0B040A
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #0d001a;
/* rgb */ color: rgb(13, 0, 26);
/* oklch */ color: oklch(12.6% 0.065 306.3);
Tailwind
colors: {
  custom: {
    50: '#4c4756',
    500: '#0d001a',
    950: '#000000',
  },
}
SCSS
$custom: #0d001a;
$custom-light: #4c4756;
$custom-dark: #000000;
JSON
{
  "hex": "#0d001a",
  "rgb": {
    "r": 13,
    "g": 0,
    "b": 26
  },
  "hsl": {
    "h": 270,
    "s": 100,
    "l": 5.098
  },
  "oklch": {
    "l": 0.12591,
    "c": 0.06494,
    "h": 306.3
  },
  "luminance": 0.0016
}

Semantic roles & 50–950 ramp

primary
#0D001A
secondary
#3B6412
accent
#FF2994
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010003
muted
#777778

Preview Lab

Preview with #0D001A

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

Preview Lab → · Contrast checker → · Palette generator →

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