#0D062F#0D062F

#0D062F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.078 H 282.7°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#0D062F
RGBrgb(13, 6, 47)
HSLhsl(250, 77%, 10%)
HSVhsv(250, 87%, 18%)
CMYKcmyk(72.3%, 87.2%, 0%, 81.6%)
CIE-LABlab(3.80, 14.09, -24.40)
CIE-LCHlch(3.80, 28.17, 300.00°)
OKLaboklab(16.96% 0.017 -0.0756)
OKLCHoklch(16.96% 0.078 282.7)
XYZxyz(0.7440, 0.4210, 2.7308)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D062F #282F06
analogous
#06132F #0D062F #21062F
triadic
#0D062F #2F0D06 #062F0D
tetradic
#0D062F #2F0613 #282F06 #062F21
square
#0D062F #2F0613 #282F06 #062F21
split-complementary
#0D062F #2F2106 #132F06
monochromatic
#08031B #08031B #0D062F #1C0D65 #2B149C

Accessibility & contrast

On white

19.37
#0D062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D062F
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D062F#FFFFFF#000000##FFFFFF
##0D062F1.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0d062f;
/* rgb */ color: rgb(13, 6, 47);
/* oklch */ color: oklch(17.0% 0.078 282.7);
Tailwind
colors: {
  custom: {
    50: '#4f4968',
    500: '#0d062f',
    950: '#000000',
  },
}
SCSS
$custom: #0d062f;
$custom-light: #4f4968;
$custom-dark: #000000;
JSON
{
  "hex": "#0d062f",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 250.244,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16961,
    "c": 0.07754,
    "h": 282.7
  },
  "luminance": 0.00421
}

Semantic roles & 50–950 ramp

primary
#0D062F
secondary
#627021
accent
#F434D3
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0D062F

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

Preview Lab → · Contrast checker → · Palette generator →

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