#0D033F#0D033F

#0D033F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.105 H 277.7°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#0D033F
RGBrgb(13, 3, 63)
HSLhsl(250, 91%, 13%)
HSVhsv(250, 95%, 25%)
CMYKcmyk(79.4%, 95.2%, 0%, 75.3%)
CIE-LABlab(4.60, 24.14, -34.85)
CIE-LCHlch(4.60, 42.39, 304.71°)
OKLaboklab(18.44% 0.014 -0.1038)
OKLCHoklch(18.44% 0.105 277.7)
XYZxyz(1.0955, 0.5095, 4.7423)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D033F #353F03
analogous
#03173F #0D033F #2B033F
triadic
#0D033F #3F0D03 #033F0D
tetradic
#0D033F #3F0317 #353F03 #033F2B
square
#0D033F #3F0317 #353F03 #033F2B
split-complementary
#0D033F #3F2B03 #173F03
monochromatic
#06011D #06011D #0D033F #190679 #2509B4

Accessibility & contrast

On white

19.06
#0D033F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0D033F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D033F
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D033F#FFFFFF#000000##FFFFFF
##0D033F1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001241
Deuteranopia (green-blind)
#000D3E
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0d033f;
/* rgb */ color: rgb(13, 3, 63);
/* oklch */ color: oklch(18.4% 0.105 277.7);
Tailwind
colors: {
  custom: {
    50: '#554775',
    500: '#0d033f',
    950: '#000000',
  },
}
SCSS
$custom: #0d033f;
$custom-light: #554775;
$custom-dark: #000000;
JSON
{
  "hex": "#0d033f",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 63
  },
  "hsl": {
    "h": 250,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18441,
    "c": 0.10476,
    "h": 277.7
  },
  "luminance": 0.0051
}

Semantic roles & 50–950 ramp

primary
#0D033F
secondary
#70811D
accent
#FF29DB
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0D033F

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

Preview Lab → · Contrast checker → · Palette generator →

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