#0D033A#0D033A

#0D033A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.7% C 0.098 H 279.5°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#0D033A
RGBrgb(13, 3, 58)
HSLhsl(251, 90%, 12%)
HSVhsv(251, 95%, 23%)
CMYKcmyk(77.6%, 94.8%, 0%, 77.3%)
CIE-LABlab(4.12, 21.43, -32.01)
CIE-LCHlch(4.12, 38.53, 303.80°)
OKLaboklab(17.74% 0.0162 -0.0968)
OKLCHoklch(17.74% 0.098 279.5)
XYZxyz(0.9620, 0.4561, 4.0395)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D033A #303A03
analogous
#03153A #0D033A #29033A
triadic
#0D033A #3A0D03 #033A0D
tetradic
#0D033A #3A0315 #303A03 #033A29
square
#0D033A #3A0315 #303A03 #033A29
split-complementary
#0D033A #3A2903 #153A03
monochromatic
#07021D #07021D #0D033A #1A0674 #2709AE

Accessibility & contrast

On white

19.24
#0D033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0D033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D033A
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D033A#FFFFFF#000000##FFFFFF
##0D033A1.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103B
Deuteranopia (green-blind)
#000C39
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0d033a;
/* rgb */ color: rgb(13, 3, 58);
/* oklch */ color: oklch(17.7% 0.098 279.5);
Tailwind
colors: {
  custom: {
    50: '#534771',
    500: '#0d033a',
    950: '#000000',
  },
}
SCSS
$custom: #0d033a;
$custom-light: #534771;
$custom-dark: #000000;
JSON
{
  "hex": "#0d033a",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 250.909,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17741,
    "c": 0.09815,
    "h": 279.5
  },
  "luminance": 0.00456
}

Semantic roles & 50–950 ramp

primary
#0D033A
secondary
#6B7D1C
accent
#FF29D8
background
#F5F3F6
surface
#E8E5EC
border
#C4C1C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0D033A

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

Preview Lab → · Contrast checker → · Palette generator →

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