#0D071E#0D071E

#0D071E is a very dark, muted violet. Relative luminance 0.003; OKLCH L 15.4% C 0.048 H 292.4°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#0D071E
RGBrgb(13, 7, 30)
HSLhsl(256, 62%, 7%)
HSVhsv(256, 77%, 12%)
CMYKcmyk(56.7%, 76.7%, 0%, 88.2%)
CIE-LABlab(2.99, 6.61, -12.58)
CIE-LCHlch(2.99, 14.21, 297.73°)
OKLaboklab(15.37% 0.0181 -0.0441)
OKLCHoklch(15.37% 0.048 292.4)
XYZxyz(0.4762, 0.3312, 1.2669)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D071E #181E07
analogous
#070D1E #0D071E #19071E
triadic
#0D071E #1E0D07 #071E0D
tetradic
#0D071E #1E070D #181E07 #071E19
square
#0D071E #1E070D #181E07 #071E19
split-complementary
#0D071E #1E1907 #0D1E07
monochromatic
#0B0619 #0B0619 #0D071E #231350 #381E81

Accessibility & contrast

On white

19.70
#0D071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0D071E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D071E
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D071E#FFFFFF#000000##FFFFFF
##0D071E1.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010B1F
Deuteranopia (green-blind)
#010A1D
Tritanopia (blue-blind)
#080C11
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0d071e;
/* rgb */ color: rgb(13, 7, 30);
/* oklch */ color: oklch(15.4% 0.048 292.4);
Tailwind
colors: {
  custom: {
    50: '#4c4a59',
    500: '#0d071e',
    950: '#000000',
  },
}
SCSS
$custom: #0d071e;
$custom-light: #4c4a59;
$custom-dark: #000000;
JSON
{
  "hex": "#0d071e",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 255.652,
    "s": 62.162,
    "l": 7.255
  },
  "oklch": {
    "l": 0.15367,
    "c": 0.0477,
    "h": 292.4
  },
  "luminance": 0.00331
}

Semantic roles & 50–950 ramp

primary
#0D071E
secondary
#4E5C24
accent
#E543BB
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #0D071E

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

Preview Lab → · Contrast checker → · Palette generator →

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