#0D061E#0D061E

#0D061E is a very dark, muted violet. Relative luminance 0.003; OKLCH L 15.1% C 0.050 H 293.8°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#0D061E
RGBrgb(13, 6, 30)
HSLhsl(258, 67%, 7%)
HSVhsv(258, 80%, 12%)
CMYKcmyk(56.7%, 80%, 0%, 88.2%)
CIE-LABlab(2.80, 7.01, -12.87)
CIE-LCHlch(2.80, 14.66, 298.59°)
OKLaboklab(15.08% 0.0202 -0.0459)
OKLCHoklch(15.08% 0.05 293.8)
XYZxyz(0.4654, 0.3095, 1.2633)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D061E #171E06
analogous
#060B1E #0D061E #19061E
triadic
#0D061E #1E0D06 #061E0D
tetradic
#0D061E #1E060B #171E06 #061E19
square
#0D061E #1E060B #171E06 #061E19
split-complementary
#0D061E #1E1906 #0B1E06
monochromatic
#0B051A #0B051A #0D061E #231051 #391A84

Accessibility & contrast

On white

19.77
#0D061E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0D061E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D061E
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D061E#FFFFFF#000000##FFFFFF
##0D061E1.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1F
Deuteranopia (green-blind)
#000A1D
Tritanopia (blue-blind)
#090B10
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0d061e;
/* rgb */ color: rgb(13, 6, 30);
/* oklch */ color: oklch(15.1% 0.050 293.8);
Tailwind
colors: {
  custom: {
    50: '#4c4959',
    500: '#0d061e',
    950: '#000000',
  },
}
SCSS
$custom: #0d061e;
$custom-light: #4c4959;
$custom-dark: #000000;
JSON
{
  "hex": "#0d061e",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 30
  },
  "hsl": {
    "h": 257.5,
    "s": 66.667,
    "l": 7.059
  },
  "oklch": {
    "l": 0.15084,
    "c": 0.0502,
    "h": 293.8
  },
  "luminance": 0.0031
}

Semantic roles & 50–950 ramp

primary
#0D061E
secondary
#4C5E22
accent
#EA3EB8
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #0D061E

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

Preview Lab → · Contrast checker → · Palette generator →

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