#0D032B#0D032B

#0D032B is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.7% C 0.078 H 287.0°. Best body text is #FFFFFF at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#0D032B
RGBrgb(13, 3, 43)
HSLhsl(255, 87%, 9%)
HSVhsv(255, 93%, 17%)
CMYKcmyk(69.8%, 93%, 0%, 83.1%)
CIE-LABlab(2.94, 13.33, -22.75)
CIE-LCHlch(2.94, 26.37, 300.37°)
OKLaboklab(15.73% 0.0226 -0.0742)
OKLCHoklch(15.73% 0.078 287)
XYZxyz(0.6345, 0.3251, 2.3143)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D032B #212B03
analogous
#030D2B #0D032B #21032B
triadic
#0D032B #2B0D03 #032B0D
tetradic
#0D032B #2B030D #212B03 #032B21
square
#0D032B #2B030D #212B03 #032B21
split-complementary
#0D032B #2B2103 #0D2B03
monochromatic
#09021D #09021D #0D032B #1E0764 #300B9D

Accessibility & contrast

On white

19.72
#0D032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D032B
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D032B#FFFFFF#000000##FFFFFF
##0D032B1.0019.721.0719.72
#FFFFFF19.721.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2C
Deuteranopia (green-blind)
#000A2A
Tritanopia (blue-blind)
#020D16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0d032b;
/* rgb */ color: rgb(13, 3, 43);
/* oklch */ color: oklch(15.7% 0.078 287.0);
Tailwind
colors: {
  custom: {
    50: '#4e4864',
    500: '#0d032b',
    950: '#000000',
  },
}
SCSS
$custom: #0d032b;
$custom-light: #4e4864;
$custom-dark: #000000;
JSON
{
  "hex": "#0d032b",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 255,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15727,
    "c": 0.07758,
    "h": 287
  },
  "luminance": 0.00325
}

Semantic roles & 50–950 ramp

primary
#0D032B
secondary
#5A6F1B
accent
#FD2BC9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #0D032B

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

Preview Lab → · Contrast checker → · Palette generator →

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