#0D062B#0D062B

#0D062B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.071 H 284.7°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#0D062B
RGBrgb(13, 6, 43)
HSLhsl(251, 76%, 10%)
HSVhsv(251, 86%, 17%)
CMYKcmyk(69.8%, 86%, 0%, 83.1%)
CIE-LABlab(3.52, 12.13, -21.82)
CIE-LCHlch(3.52, 24.97, 299.07°)
OKLaboklab(16.49% 0.0181 -0.0691)
OKLCHoklch(16.49% 0.071 284.7)
XYZxyz(0.6670, 0.3902, 2.3252)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D062B #242B06
analogous
#06122B #0D062B #20062B
triadic
#0D062B #2B0D06 #062B0D
tetradic
#0D062B #2B0612 #242B06 #062B20
square
#0D062B #2B0612 #242B06 #062B20
split-complementary
#0D062B #2B2006 #122B06
monochromatic
#08041B #08041B #0D062B #1D0D61 #2D1596

Accessibility & contrast

On white

19.48
#0D062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0D062B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D062B
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D062B#FFFFFF#000000##FFFFFF
##0D062B1.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#000B2A
Tritanopia (blue-blind)
#020F17
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0d062b;
/* rgb */ color: rgb(13, 6, 43);
/* oklch */ color: oklch(16.5% 0.071 284.7);
Tailwind
colors: {
  custom: {
    50: '#4e4964',
    500: '#0d062b',
    950: '#000000',
  },
}
SCSS
$custom: #0d062b;
$custom-light: #4e4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0d062b",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 251.351,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16485,
    "c": 0.0714,
    "h": 284.7
  },
  "luminance": 0.0039
}

Semantic roles & 50–950 ramp

primary
#0D062B
secondary
#5E6C21
accent
#F236CE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #0D062B

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

Preview Lab → · Contrast checker → · Palette generator →

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