#0D032E#0D032E

#0D032E is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.1% C 0.082 H 285.1°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#0D032E
RGBrgb(13, 3, 46)
HSLhsl(254, 88%, 10%)
HSVhsv(254, 93%, 18%)
CMYKcmyk(71.7%, 93.5%, 0%, 82%)
CIE-LABlab(3.14, 14.78, -24.70)
CIE-LCHlch(3.14, 28.78, 300.90°)
OKLaboklab(16.12% 0.0214 -0.079)
OKLCHoklch(16.12% 0.082 285.1)
XYZxyz(0.6915, 0.3479, 2.6150)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D032E #242E03
analogous
#030F2E #0D032E #23032E
triadic
#0D032E #2E0D03 #032E0D
tetradic
#0D032E #2E030F #242E03 #032E23
square
#0D032E #2E030F #242E03 #032E23
split-complementary
#0D032E #2E2303 #0F2E03
monochromatic
#08021D #08021D #0D032E #1D0767 #2D0AA1

Accessibility & contrast

On white

19.63
#0D032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D032E
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D032E#FFFFFF#000000##FFFFFF
##0D032E1.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2F
Deuteranopia (green-blind)
#000A2D
Tritanopia (blue-blind)
#000E18
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0d032e;
/* rgb */ color: rgb(13, 3, 46);
/* oklch */ color: oklch(16.1% 0.082 285.1);
Tailwind
colors: {
  custom: {
    50: '#4e4767',
    500: '#0d032e',
    950: '#000000',
  },
}
SCSS
$custom: #0d032e;
$custom-light: #4e4767;
$custom-dark: #000000;
JSON
{
  "hex": "#0d032e",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 253.953,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16116,
    "c": 0.08179,
    "h": 285.1
  },
  "luminance": 0.00348
}

Semantic roles & 50–950 ramp

primary
#0D032E
secondary
#5E721B
accent
#FE2ACD
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0D032E

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

Preview Lab → · Contrast checker → · Palette generator →

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