#0D032F#0D032F

#0D032F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.2% C 0.083 H 284.6°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#0D032F
RGBrgb(13, 3, 47)
HSLhsl(254, 88%, 10%)
HSVhsv(254, 94%, 18%)
CMYKcmyk(72.3%, 93.6%, 0%, 81.6%)
CIE-LABlab(3.21, 15.29, -25.34)
CIE-LCHlch(3.21, 29.59, 301.11°)
OKLaboklab(16.25% 0.0209 -0.0805)
OKLCHoklch(16.25% 0.083 284.6)
XYZxyz(0.7115, 0.3559, 2.7200)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D032F #252F03
analogous
#030F2F #0D032F #23032F
triadic
#0D032F #2F0D03 #032F0D
tetradic
#0D032F #2F030F #252F03 #032F23
square
#0D032F #2F030F #252F03 #032F23
split-complementary
#0D032F #2F2303 #0F2F03
monochromatic
#08021D #08021D #0D032F #1D0769 #2D0AA2

Accessibility & contrast

On white

19.60
#0D032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D032F
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D032F#FFFFFF#000000##FFFFFF
##0D032F1.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0d032f;
/* rgb */ color: rgb(13, 3, 47);
/* oklch */ color: oklch(16.2% 0.083 284.6);
Tailwind
colors: {
  custom: {
    50: '#4f4768',
    500: '#0d032f',
    950: '#000000',
  },
}
SCSS
$custom: #0d032f;
$custom-light: #4f4768;
$custom-dark: #000000;
JSON
{
  "hex": "#0d032f",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 253.636,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16248,
    "c": 0.08318,
    "h": 284.6
  },
  "luminance": 0.00356
}

Semantic roles & 50–950 ramp

primary
#0D032F
secondary
#5F731B
accent
#FE2ACE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0D032F

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

Preview Lab → · Contrast checker → · Palette generator →

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