#0D002B#0D002B

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

Color values

HEX#0D002B
RGBrgb(13, 0, 43)
HSLhsl(258, 100%, 8%)
HSVhsv(258, 100%, 17%)
CMYKcmyk(69.8%, 100%, 0%, 83.1%)
CIE-LABlab(2.35, 14.53, -23.68)
CIE-LCHlch(2.35, 27.78, 301.54°)
OKLaboklab(14.89% 0.0278 -0.08)
OKLCHoklch(14.89% 0.085 289.2)
XYZxyz(0.6019, 0.2600, 2.3035)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D002B #1E2B00
analogous
#00082B #0D002B #22002B
triadic
#0D002B #2B0D00 #002B0D
tetradic
#0D002B #2B0008 #1E2B00 #002B22
square
#0D002B #2B0008 #1E2B00 #002B22
split-complementary
#0D002B #2B2200 #082B00
monochromatic
#09001F #09001F #0D002B #200068 #3200A5

Accessibility & contrast

On white

19.96
#0D002B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0D002B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D002B
19.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D002B#FFFFFF#000000##FFFFFF
##0D002B1.0019.961.0519.96
#FFFFFF19.961.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092C
Deuteranopia (green-blind)
#00072A
Tritanopia (blue-blind)
#020B15
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0d002b;
/* rgb */ color: rgb(13, 0, 43);
/* oklch */ color: oklch(14.9% 0.085 289.2);
Tailwind
colors: {
  custom: {
    50: '#4d4664',
    500: '#0d002b',
    950: '#000000',
  },
}
SCSS
$custom: #0d002b;
$custom-light: #4d4664;
$custom-dark: #000000;
JSON
{
  "hex": "#0d002b",
  "rgb": {
    "r": 13,
    "g": 0,
    "b": 43
  },
  "hsl": {
    "h": 258.14,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14889,
    "c": 0.0847,
    "h": 289.2
  },
  "luminance": 0.0026
}

Semantic roles & 50–950 ramp

primary
#0D002B
secondary
#567314
accent
#FF29BE
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #0D002B

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

Preview Lab → · Contrast checker → · Palette generator →

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