#0D043A#0D043A

#0D043A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.097 H 279.1°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#0D043A
RGBrgb(13, 4, 58)
HSLhsl(250, 87%, 12%)
HSVhsv(250, 93%, 23%)
CMYKcmyk(77.6%, 93.1%, 0%, 77.3%)
CIE-LABlab(4.32, 20.99, -31.70)
CIE-LCHlch(4.32, 38.02, 303.52°)
OKLaboklab(17.95% 0.0153 -0.0954)
OKLCHoklch(17.95% 0.097 279.1)
XYZxyz(0.9729, 0.4778, 4.0431)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D043A #313A04
analogous
#04163A #0D043A #28043A
triadic
#0D043A #3A0D04 #043A0D
tetradic
#0D043A #3A0416 #313A04 #043A28
square
#0D043A #3A0416 #313A04 #043A28
split-complementary
#0D043A #3A2804 #163A04
monochromatic
#06021D #06021D #0D043A #1A0873 #270CAD

Accessibility & contrast

On white

19.17
#0D043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D043A
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D043A#FFFFFF#000000##FFFFFF
##0D043A1.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113B
Deuteranopia (green-blind)
#000D39
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0d043a;
/* rgb */ color: rgb(13, 4, 58);
/* oklch */ color: oklch(17.9% 0.097 279.1);
Tailwind
colors: {
  custom: {
    50: '#534771',
    500: '#0d043a',
    950: '#000000',
  },
}
SCSS
$custom: #0d043a;
$custom-light: #534771;
$custom-dark: #000000;
JSON
{
  "hex": "#0d043a",
  "rgb": {
    "r": 13,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 250,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17946,
    "c": 0.09662,
    "h": 279.1
  },
  "luminance": 0.00478
}

Semantic roles & 50–950 ramp

primary
#0D043A
secondary
#6C7C1E
accent
#FD2BDA
background
#F5F4F6
surface
#E8E6EC
border
#C4C2C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0D043A

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

Preview Lab → · Contrast checker → · Palette generator →

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