#0D0729#0D0729

#0D0729 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.066 H 284.9°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#0D0729
RGBrgb(13, 7, 41)
HSLhsl(251, 71%, 9%)
HSVhsv(251, 83%, 16%)
CMYKcmyk(68.3%, 82.9%, 0%, 83.9%)
CIE-LABlab(3.59, 10.82, -20.20)
CIE-LCHlch(3.59, 22.91, 298.18°)
OKLaboklab(16.5% 0.0171 -0.0641)
OKLCHoklch(16.5% 0.066 284.9)
XYZxyz(0.6421, 0.3976, 2.1403)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0729 #232907
analogous
#071229 #0D0729 #1E0729
triadic
#0D0729 #290D07 #07290D
tetradic
#0D0729 #290712 #232907 #07291E
square
#0D0729 #290712 #232907 #07291E
split-complementary
#0D0729 #291E07 #122907
monochromatic
#08041A #08041A #0D0729 #1E105D #2E1992

Accessibility & contrast

On white

19.45
#0D0729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0729
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0729#FFFFFF#000000##FFFFFF
##0D07291.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2A
Deuteranopia (green-blind)
#000C28
Tritanopia (blue-blind)
#030F16
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0d0729;
/* rgb */ color: rgb(13, 7, 41);
/* oklch */ color: oklch(16.5% 0.066 284.9);
Tailwind
colors: {
  custom: {
    50: '#4d4963',
    500: '#0d0729',
    950: '#000000',
  },
}
SCSS
$custom: #0d0729;
$custom-light: #4d4963;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0729",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 41
  },
  "hsl": {
    "h": 250.588,
    "s": 70.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16499,
    "c": 0.06631,
    "h": 284.9
  },
  "luminance": 0.00398
}

Semantic roles & 50–950 ramp

primary
#0D0729
secondary
#5C6923
accent
#EE3ACE
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #0D0729

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

Preview Lab → · Contrast checker → · Palette generator →

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