#0D022F#0D022F

#0D022F is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.0% C 0.085 H 285.2°. Best body text is #FFFFFF at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#0D022F
RGBrgb(13, 2, 47)
HSLhsl(255, 92%, 10%)
HSVhsv(255, 96%, 18%)
CMYKcmyk(72.3%, 95.7%, 0%, 81.6%)
CIE-LABlab(3.02, 15.69, -25.65)
CIE-LCHlch(3.02, 30.07, 301.45°)
OKLaboklab(16% 0.0223 -0.0822)
OKLCHoklch(16% 0.085 285.2)
XYZxyz(0.7006, 0.3342, 2.7164)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D022F #242F02
analogous
#020D2F #0D022F #24022F
triadic
#0D022F #2F0D02 #022F0D
tetradic
#0D022F #2F020D #242F02 #022F24
square
#0D022F #2F020D #242F02 #022F24
split-complementary
#0D022F #2F2402 #0D2F02
monochromatic
#08011D #08011D #0D022F #1D046A #2D07A4

Accessibility & contrast

On white

19.69
#0D022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D022F
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D022F#FFFFFF#000000##FFFFFF
##0D022F1.0019.691.0719.69
#FFFFFF19.691.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C30
Deuteranopia (green-blind)
#00092E
Tritanopia (blue-blind)
#000E18
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0d022f;
/* rgb */ color: rgb(13, 2, 47);
/* oklch */ color: oklch(16.0% 0.085 285.2);
Tailwind
colors: {
  custom: {
    50: '#4e4768',
    500: '#0d022f',
    950: '#000000',
  },
}
SCSS
$custom: #0d022f;
$custom-light: #4e4768;
$custom-dark: #000000;
JSON
{
  "hex": "#0d022f",
  "rgb": {
    "r": 13,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 254.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15996,
    "c": 0.08521,
    "h": 285.2
  },
  "luminance": 0.00334
}

Semantic roles & 50–950 ramp

primary
#0D022F
secondary
#5E7419
accent
#FF29CB
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0D022F

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

Preview Lab → · Contrast checker → · Palette generator →

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