#0D072A#0D072A

#0D072A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.068 H 284.4°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#0D072A
RGBrgb(13, 7, 42)
HSLhsl(250, 71%, 10%)
HSVhsv(250, 83%, 16%)
CMYKcmyk(69%, 83.3%, 0%, 83.5%)
CIE-LABlab(3.66, 11.27, -20.86)
CIE-LCHlch(3.66, 23.71, 298.38°)
OKLaboklab(16.61% 0.0169 -0.0658)
OKLCHoklch(16.61% 0.068 284.4)
XYZxyz(0.6597, 0.4047, 2.2334)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D072A #242A07
analogous
#07132A #0D072A #1F072A
triadic
#0D072A #2A0D07 #072A0D
tetradic
#0D072A #2A0713 #242A07 #072A1F
square
#0D072A #2A0713 #242A07 #072A1F
split-complementary
#0D072A #2A1F07 #132A07
monochromatic
#08041A #08041A #0D072A #1D105E #2D1893

Accessibility & contrast

On white

19.43
#0D072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0D072A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D072A
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D072A#FFFFFF#000000##FFFFFF
##0D072A1.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#021017
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0d072a;
/* rgb */ color: rgb(13, 7, 42);
/* oklch */ color: oklch(16.6% 0.068 284.4);
Tailwind
colors: {
  custom: {
    50: '#4d4964',
    500: '#0d072a',
    950: '#000000',
  },
}
SCSS
$custom: #0d072a;
$custom-light: #4d4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0d072a",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 250.286,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.1661,
    "c": 0.06792,
    "h": 284.4
  },
  "luminance": 0.00405
}

Semantic roles & 50–950 ramp

primary
#0D072A
secondary
#5E6A23
accent
#EE3ACF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #0D072A

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

Preview Lab → · Contrast checker → · Palette generator →

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