#0D002C#0D002C

#0D002C is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.0% C 0.086 H 288.4°. Best body text is #FFFFFF at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#0D002C
RGBrgb(13, 0, 44)
HSLhsl(258, 100%, 9%)
HSVhsv(258, 100%, 17%)
CMYKcmyk(70.5%, 100%, 0%, 82.7%)
CIE-LABlab(2.42, 15.01, -24.34)
CIE-LCHlch(2.42, 28.59, 301.66°)
OKLaboklab(15.03% 0.0272 -0.0815)
OKLCHoklch(15.03% 0.086 288.4)
XYZxyz(0.6205, 0.2674, 2.4013)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D002C #1F2C00
analogous
#00092C #0D002C #23002C
triadic
#0D002C #2C0D00 #002C0D
tetradic
#0D002C #2C0009 #1F2C00 #002C23
square
#0D002C #2C0009 #1F2C00 #002C23
split-complementary
#0D002C #2C2300 #092C00
monochromatic
#09001F #09001F #0D002C #1F0069 #3100A6

Accessibility & contrast

On white

19.94
#0D002C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D002C
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D002C#FFFFFF#000000##FFFFFF
##0D002C1.0019.941.0519.94
#FFFFFF19.941.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2D
Deuteranopia (green-blind)
#00082B
Tritanopia (blue-blind)
#020B15
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0d002c;
/* rgb */ color: rgb(13, 0, 44);
/* oklch */ color: oklch(15.0% 0.086 288.4);
Tailwind
colors: {
  custom: {
    50: '#4e4665',
    500: '#0d002c',
    950: '#000000',
  },
}
SCSS
$custom: #0d002c;
$custom-light: #4e4665;
$custom-dark: #000000;
JSON
{
  "hex": "#0d002c",
  "rgb": {
    "r": 13,
    "g": 0,
    "b": 44
  },
  "hsl": {
    "h": 257.727,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.15032,
    "c": 0.0859,
    "h": 288.4
  },
  "luminance": 0.00267
}

Semantic roles & 50–950 ramp

primary
#0D002C
secondary
#577314
accent
#FF29C0
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #0D002C

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

Preview Lab → · Contrast checker → · Palette generator →

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