#0D032A#0D032A

#0D032A is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.6% C 0.076 H 287.6°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#0D032A
RGBrgb(13, 3, 42)
HSLhsl(255, 87%, 9%)
HSVhsv(255, 93%, 16%)
CMYKcmyk(69%, 92.9%, 0%, 83.5%)
CIE-LABlab(2.87, 12.87, -22.09)
CIE-LCHlch(2.87, 25.57, 300.23°)
OKLaboklab(15.6% 0.023 -0.0726)
OKLCHoklch(15.6% 0.076 287.6)
XYZxyz(0.6163, 0.3178, 2.2189)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D032A #202A03
analogous
#030D2A #0D032A #21032A
triadic
#0D032A #2A0D03 #032A0D
tetradic
#0D032A #2A030D #202A03 #032A21
square
#0D032A #2A030D #202A03 #032A21
split-complementary
#0D032A #2A2103 #0D2A03
monochromatic
#09021D #09021D #0D032A #1F0763 #300B9C

Accessibility & contrast

On white

19.74
#0D032A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0D032A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D032A
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D032A#FFFFFF#000000##FFFFFF
##0D032A1.0019.741.0619.74
#FFFFFF19.741.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2B
Deuteranopia (green-blind)
#000929
Tritanopia (blue-blind)
#030D15
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0d032a;
/* rgb */ color: rgb(13, 3, 42);
/* oklch */ color: oklch(15.6% 0.076 287.6);
Tailwind
colors: {
  custom: {
    50: '#4d4864',
    500: '#0d032a',
    950: '#000000',
  },
}
SCSS
$custom: #0d032a;
$custom-light: #4d4864;
$custom-dark: #000000;
JSON
{
  "hex": "#0d032a",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 255.385,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.156,
    "c": 0.07617,
    "h": 287.6
  },
  "luminance": 0.00318
}

Semantic roles & 50–950 ramp

primary
#0D032A
secondary
#596E1B
accent
#FD2BC7
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0D032A

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

Preview Lab → · Contrast checker → · Palette generator →

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